9 lines
214 B
Bash
Executable File
9 lines
214 B
Bash
Executable File
#!/usr/bin/env -S bash -i
|
|
|
|
if [[ -z "${ANSIBLE_BECOME_PASS}" ]]; then
|
|
echo "ANSIBLE_BECOME_PASS is not set. Exiting."
|
|
exit 1
|
|
fi
|
|
|
|
ansible-playbook main.yml -e "ansible_become_pass=${ANSIBLE_BECOME_PASS}" -v
|