main: test if options could be passed as they are

This commit is contained in:
Dawid Dziurla 2020-03-21 17:12:34 +01:00
parent fa2afcbd6b
commit 81e4726d4b
No known key found for this signature in database
GPG Key ID: 7B6D8368172E9B0B

View File

@ -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