network/inventory.sh

12 lines
412 B
Bash
Executable file

#!/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 "${@}"