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:
parent
dfd25470a1
commit
aff014ae75
5 changed files with 12 additions and 9 deletions
5
runrole
5
runrole
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue