Hi all,
A while back I wrote an Ansible role for deploying NetBox/keeping NetBox updated. You can find it on Galaxy as lae.netbox:
https://galaxy.ansible.com/lae/netbox/For those who might be relatively new to Ansible and/or want a quick way of deploying a demo instance, there's a playbook for quickly getting started:
https://github.com/lae/ansible-role-netbox#quickstartThe role is tested to work on CentOS 7/Debian 8/Ubuntu 16 (others probably work fine too if they're using systemd) and uses a separate virtualenv/release directory for each release (which was eventually going to be used for rollback capabilities). I had to skip on config validation because of an Ansible bug I ran into, but I have an idea how to get around it so that might make it to a release soon. While the defaults are mostly sane, it's very configurable (toggles for LDAP/NAPALM integration for example).
It's been working great for the past 2 months for my department's NetBox instance (apart from the defaults, we have LDAP authentication enabled). Haven't had any issues updating at all, even to 2.1.1 today.
That said, there's probably room for improvement. I'm open to pull requests/feedback in the repository linked above if y'all have any.
Please try it out and let me know what you think. Thanks!