mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2024-11-22 15:32:18 +00:00
main: test if options could be passed as they are
This commit is contained in:
parent
fa2afcbd6b
commit
81e4726d4b
1 changed files with 2 additions and 2 deletions
4
main.sh
4
main.sh
|
@ -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
|
Loading…
Reference in a new issue