14 lines
292 B
Bash
14 lines
292 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
EXTRA_ARGS=()
|
||
|
|
||
|
if [ -f .passbolt.yml ]; then
|
||
|
EXTRA_ARGS+=("--extra-vars" "@.passbolt.yml")
|
||
|
fi
|
||
|
if [ -f .vault-pass ]; then
|
||
|
EXTRA_ARGS+=("--vault-password-file" ".vault-pass")
|
||
|
fi
|
||
|
|
||
|
#export PYTHONPATH=./venv/lib/python3.12/site-packages/
|
||
|
ansible-playbook ${EXTRA_ARGS[@]} $@
|