network/inventory.sh

12 lines
412 B
Bash
Raw Normal View History

2023-12-18 10:22:14 +00:00
#!/bin/sh
# use this wrapper as your inventory if you have ansible-vault secrets in some config context
# thank you Dameon Wagner you magnificent beast
# https://github.com/netbox-community/ansible_modules/discussions/551
# remove this file if/when this gets to your computer
# https://github.com/netbox-community/ansible_modules/pull/1114
ANSIBLE_ASK_VAULT_PASS=no ansible-inventory -i inventory.yml "${@}"