2024-10-02 11:20:37 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
EXTRA_ARGS=()
|
|
|
|
|
|
|
|
if [ -f .passbolt.yml ]; then
|
|
|
|
EXTRA_ARGS+=("--extra-vars" "@.passbolt.yml")
|
|
|
|
fi
|
2024-10-08 09:55:12 +00:00
|
|
|
if [ -f .vault-pass ]; then
|
|
|
|
EXTRA_ARGS+=("--vault-password-file" ".vault-pass")
|
2024-10-02 11:20:37 +00:00
|
|
|
fi
|
|
|
|
|
2024-10-02 18:17:47 +00:00
|
|
|
#export PYTHONPATH=./venv/lib/python3.12/site-packages/
|
2024-10-02 11:20:37 +00:00
|
|
|
ansible-playbook ${EXTRA_ARGS[@]} $@
|