1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

drop -e and just use ansible.cfg

This commit is contained in:
Jerry Vonau 2019-10-30 21:38:06 -05:00
parent dfd25470a1
commit aff014ae75
5 changed files with 12 additions and 9 deletions

View file

@ -33,5 +33,6 @@ if [[ $# -eq 0 ]] ; then
exit 0
fi
ansible -m setup -i $INVENTORY localhost --connection=local -e ansible_python_interpreter=/usr/bin/python3 | grep python
ansible-playbook -i $INVENTORY $PLAYBOOK ${ARGS} --connection=local -e "role_to_run=$1" -e ansible_python_interpreter=/usr/bin/python3
ansible -m setup -i $INVENTORY localhost ${ARGS} --connection=local | grep python
ansible-playbook -i $INVENTORY $PLAYBOOK ${ARGS} --connection=local -e "role_to_run=$1"