12 lines
172 B
Bash
12 lines
172 B
Bash
#!/usr/bin/env ash
|
|
|
|
set -e
|
|
|
|
if [ "$INPUT_CHECK_ONLY" = "true" ]; then
|
|
ANSIBLE_OPTIONS="--check --diff"
|
|
fi;
|
|
|
|
ansible-playbook "$INPUT_PATH" -vv "$ANSIBLE_OPTIONS"
|
|
|
|
exit 0
|