14 lines
292 B
Bash
Executable File
14 lines
292 B
Bash
Executable File
#!/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[@]} $@
|