13 lines
229 B
Bash
Executable file
13 lines
229 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 update.yaml $@
|