commit | 68221e8c71a52d1cd0b6710b4b6376b923dd7345 | [log] [tgz] |
---|---|---|
author | Zack Williams <zdw@opennetworking.org> | Sat Sep 03 22:29:07 2022 -0700 |
committer | Zack Williams <zdw@opennetworking.org> | Sat Sep 03 22:29:07 2022 -0700 |
tree | c3692207430b4f69edaeed09e8ce39632c76ea51 | |
parent | 3cfdc001072f5489e15b93cfd65a7801f36671af [diff] |
Fix metadata for Galaxy Change-Id: I51d5b07ef1564463540e83b3473923db6864bdc1
This role installs or updates the NetBox IPAM/DCIM System.
By default, it installs in /opt/netbox
, which is a symlink to /opt/netbox-<version>
Media and other uploaded files are stored in /opt/netbox_media
This role runs the update.sh
script during execution, which handles initial database creation, upgrade migration, etc.
Must have PostgreSQL and Redis roles installed.
Likely also want to have the NGINX webserver, configured to proxy to gunicorn, and to serve static files directly:
proxy_pass: "http://localhost:8001" extra_config: | location /static/ { alias /opt/netbox/netbox/static/; }
Minimum ansible version: 2.9.5
See defaults/main.yml
. Most of these variables are either related to the database, the initial superuser on the site, or specific to Netbox, in which case you should refer to the NetBox documentation.
- hosts: netbox roles: - nginx - postgres - redis - netbox
© 2020 Open Networking Foundation support@opennetworking.org
License: Apache-2.0