commit | 3cfdc001072f5489e15b93cfd65a7801f36671af | [log] [tgz] |
---|---|---|
author | Zack Williams <zdw@opennetworking.org> | Sun Sep 19 13:34:13 2021 -0700 |
committer | Zack Williams <zdw@opennetworking.org> | Thu Jun 02 17:32:36 2022 -0700 |
tree | a4e4e8fc643e16e31050f800b881c33c1a313d1a | |
parent | 38e28f9052cec761f4ee4ea1dec7e2aef5a056e0 [diff] |
Update to version 2.11.12, then 3.1.7 Add anonymous access to most data model fields fixes for metadata/license/lint Change-Id: I728b6fbda2927ee7e3d9b994e1c8f97d7d9493ba
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