mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2026-10-22 08:20:20 -06:00
main: test if options could be passed as they are
This commit is contained in:
1 file changed
+2
-2
@@ -18,11 +18,11 @@ if test -n "$key"; then
|
||||
fi
|
||||
|
||||
if test -n "$options"; then
|
||||
options="$(echo "$options" | tr '\n' ' ')"
|
||||
#options="$(echo "$options" | tr '\n' ' ')"
|
||||
echo "OPTIONS: $options"
|
||||
fi
|
||||
|
||||
export ANSIBLE_HOST_KEY_CHECKING=False
|
||||
export ANSIBLE_FORCE_COLOR=True
|
||||
|
||||
ansible-playbook "$options" "$playbook"
|
||||
ansible-playbook $options $playbook
|
||||
Reference in new issue
Block a user