13 lines
271 B
Bash
Executable file
13 lines
271 B
Bash
Executable file
#!/bin/bash
|
|
|
|
clear
|
|
echo "" > ansible.log
|
|
ANSIBLE_PATH=ansible-playbook
|
|
|
|
if hash ansible-playbook 2>/dev/null; then
|
|
ANSIBLE_PATH=ansible-playbook
|
|
else
|
|
ANSIBLE_PATH=./.venv/bin/ansible-playbook
|
|
fi
|
|
|
|
$ANSIBLE_PATH --vault-password-file vault-password.txt minilab.yaml $@
|