Add convenience run scripts
This commit is contained in:
parent
6d215d1cd3
commit
d3b26e3e1a
|
@ -1,3 +1,8 @@
|
||||||
#!/usr/bin/env -S bash -i
|
#!/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}"
|
ansible-playbook main.yml -e "ansible_become_pass=${ANSIBLE_BECOME_PASS}"
|
8
run-macos.sh
Executable file
8
run-macos.sh
Executable file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/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}"
|
Loading…
Reference in New Issue
Block a user