mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2024-11-22 15:32:18 +00:00
main: yep, options could be passed as they are
just print them + playbook
This commit is contained in:
parent
81e4726d4b
commit
36026d33a9
1 changed files with 2 additions and 4 deletions
6
main.sh
6
main.sh
|
@ -17,10 +17,8 @@ if test -n "$key"; then
|
||||||
chmod 400 ~/.ssh/id_rsa
|
chmod 400 ~/.ssh/id_rsa
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test -n "$options"; then
|
echo "$options"
|
||||||
#options="$(echo "$options" | tr '\n' ' ')"
|
echo "$playbook"
|
||||||
echo "OPTIONS: $options"
|
|
||||||
fi
|
|
||||||
|
|
||||||
export ANSIBLE_HOST_KEY_CHECKING=False
|
export ANSIBLE_HOST_KEY_CHECKING=False
|
||||||
export ANSIBLE_FORCE_COLOR=True
|
export ANSIBLE_FORCE_COLOR=True
|
||||||
|
|
Loading…
Reference in a new issue