8 lines
211 B
Bash
Executable File
8 lines
211 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 macos.yml -e "ansible_become_pass=${ANSIBLE_BECOME_PASS}" |