1
0
Fork 0
mirror of https://github.com/dawidd6/action-ansible-playbook.git synced 2024-12-23 12:46:15 +00:00

main: make options be in one line and print them

This commit is contained in:
Dawid Dziurla 2020-03-21 17:10:07 +01:00
parent 71c08da46c
commit fa2afcbd6b
No known key found for this signature in database
GPG key ID: 7B6D8368172E9B0B

View file

@ -17,6 +17,11 @@ if test -n "$key"; then
chmod 400 ~/.ssh/id_rsa
fi
if test -n "$options"; then
options="$(echo "$options" | tr '\n' ' ')"
echo "OPTIONS: $options"
fi
export ANSIBLE_HOST_KEY_CHECKING=False
export ANSIBLE_FORCE_COLOR=True