https://github.com/williammarti/netbox-ansible-playbooks
Playbooks for setting up or updating a Netbox install
https://github.com/williammarti/netbox-ansible-playbooks
ansible dcim ipam netbox
Last synced: 2 months ago
JSON representation
Playbooks for setting up or updating a Netbox install
- Host: GitHub
- URL: https://github.com/williammarti/netbox-ansible-playbooks
- Owner: WilliamMarti
- License: mit
- Created: 2023-10-07T19:55:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-11T04:57:22.000Z (over 1 year ago)
- Last Synced: 2023-10-11T09:42:29.969Z (over 1 year ago)
- Topics: ansible, dcim, ipam, netbox
- Language: Jinja
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Netbox Ansible Playbooks
Playbooks for setting up or updating a Netbox install
### Netbox Install Role
Assumptions:
1. Posgres DB is already running
vars/main.yml variables
* netbox.version - Varision of Netbox to install
* netbox.superuser_email: email address of superuser, required for Django admin
* netbox.superuser_username: username of superuser, require for Django admin* database.username - Username used to access Netbox PostgreSQL DB
* database.hostname - Hostname of server PostgreSQL DB is onExtra Variables
* netbox_db_password - password for postgres DB.
```
ansible-playbook netbox_install.yml -u $server_root_username -kK -i $server_hostname, -e netbox_db_password=$netbox_db_password -e superuser_password=$superuser_password
```### Netbox Upgrade Role
```
ansible-playbook netbox_upgrade.yml -u $server_root_username -kK -i $server_hostname,
```