netbox: move NetBox from NixOS to Ansible
Also introduce netbox_hosts group for applying netbox role to multiple hosts.
This commit is contained in:
parent
09a8551c8a
commit
2ec1471d7f
7 changed files with 143 additions and 2 deletions
16
inventories/chaosknoten/host_vars/netbox.yaml
Normal file
16
inventories/chaosknoten/host_vars/netbox.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
netbox__version: "v4.1.7"
|
||||
netbox__db_password: "{{ lookup('community.general.passwordstore', 'noc/vm-secrets/chaosknoten/netbox/DATABASE_PASSWORD', create=false, missing='error') }}"
|
||||
netbox__config: "{{ lookup('ansible.builtin.template', 'resources/chaosknoten/netbox/netbox/configuration.py.j2') }}"
|
||||
netbox__custom_pipeline_oidc_group_and_role_mapping: true
|
||||
|
||||
nginx__version_spec: ""
|
||||
nginx__configurations:
|
||||
- name: netbox.hamburg.ccc.de
|
||||
content: "{{ lookup('ansible.builtin.file', 'resources/chaosknoten/netbox/nginx/netbox.hamburg.ccc.de.conf') }}"
|
||||
|
||||
certbot__version_spec: ""
|
||||
certbot__acme_account_email_address: j+letsencrypt-ccchh@jsts.xyz
|
||||
certbot__certificate_domains:
|
||||
- "netbox.hamburg.ccc.de"
|
||||
certbot__new_cert_commands:
|
||||
- "systemctl reload nginx.service"
|
Loading…
Add table
Add a link
Reference in a new issue