mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2024-11-22 15:32:18 +00:00
main: make options be in one line and print them
This commit is contained in:
parent
71c08da46c
commit
fa2afcbd6b
1 changed files with 5 additions and 0 deletions
5
main.sh
5
main.sh
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue