mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2024-12-28 02:56:09 -07:00
main: yep, options could be passed as they are
just print them + playbook
This commit is contained in:
parent
81e4726d4b
commit
36026d33a9
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 New Issue
Block a user