An Ansible playbook to run through the installation process of Netbox.
- v4.4.1
- Ubuntu 22.04LTS
- community.general
- Ensure your Ansible control node can communicate with your desired Netbox server
- Copy
inventory.example.ymltoinventory.ymland modify to reflect your environment - Copy
config.example.ymltoconfig.ymland add the Netbox superuser name, and database user. - Run
ansible-vault create secret.yml, enter a password for the vault and add the following variables to the file:db_password: <your-database-password> nb_password: <netbox-superuser-password> nb_email: <netbox-superuser-password>
- Run
ansible-playbook -i inventory.yml main.yml --ask-vault-pass