Replace hacky ansible entrypoint script with dotenv file

This commit is contained in:
Ethan Paul 2021-12-23 23:23:24 -05:00
parent 7bb00a3586
commit b36bbec72a
No known key found for this signature in database
GPG Key ID: 6A337337DF6B5B1A
2 changed files with 2 additions and 5 deletions

2
.env Normal file
View File

@ -0,0 +1,2 @@
ANSIBLE_COLLECTIONS_PATH=$(pwd)/.ansible
ANSIBLE_INVENTORY=$(pwd)/inventory.yaml

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
ANSIBLE_COLLECTIONS_PATH=$(pwd)/.ansible \
ANSIBLE_INVENTORY=$(pwd)/inventory.yaml \
"ansible-$1" "${@:2}"