Signed-off-by: Georg Pfuetzenreuter <georg@lysergic.dev>
This commit is contained in:
Georg Pfuetzenreuter 2022-02-13 01:47:17 +01:00
parent b84139e5a4
commit e7568ac0aa
Signed by: Georg
GPG Key ID: 68206CD7890A7675
2 changed files with 1 additions and 36 deletions

View File

@ -6,6 +6,7 @@ shared/
templates/autoinst_*.lysergic.dev.xml.j2
templates/generated/
variables/deploy-variables.yml
inventory.yml
*.bak
*.old
*.tgz

View File

@ -1,36 +0,0 @@
---
plugin: netbox.netbox.nb_inventory
config_context: False
compose:
ansible_network_os: "'vyos.vyos.vyos' if platform.slug == 'vyos-x86_64' else platform.slug"
ansible_connection: "'ansible.netcommon.network_cli' if platform.slug == 'vyos-x86_64' else 'ssh'"
ansible_private_key_file: "'~/.ssh/id_router' if platform.slug == 'vyos-x86_64' else '~/.ssh/id_lysergic'"
ansible_python_interpreter: "'/usr/local/bin/python3' if platform.slug == 'openbsd-x86_64' else '/usr/bin/python3'"
# family: device_type.slug
vars:
# nb_token: !vault |
# $ANSIBLE_VAULT;1.1;AES256
# 32346530306633656230303135373462396533623031306433313264393666666439383564656465
# 3065383438663430666536656664326165396538656365300a636366633436643430333965316339
# 37666137323462343135303035343162343066343835323632333738343237363739623861623133
# 3963376637316262640a323736646531613361623165316563646130333636396337633739346464
# 33343566626362653635373635623232326633326561336134653136386237623839343937313262
# 6639323637363235313831363639373437373439386437643335
# nb_token: "ab62b3318d4db6b8553c21cf6b51890a621614dd"
api_endpoint: https://netbox.intranet.squirrelcube.com
token: "ab62b3318d4db6b8553c21cf6b51890a621614dd"
#token: "{{ nb_token }}"
cert: /home/georg/.sec/georg.crt
key: /home/georg/.sec/georg.key
validate_certs: True
query_filters:
- tenant: lysergic
# - tag: laboratory
#device_query_filters:
# - has_primary_ip: 'true'
group_by:
- cluster
# - device_roles
- status
- tags
ansible_host_dns_name: yes