mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
cherry-pick 57d77774fb7602ab39b3a4613b1623e83e8c526c
This commit is contained in:
parent
896186f8c7
commit
c2ca70b346
4 changed files with 9 additions and 7 deletions
3
runrole
3
runrole
|
@ -33,4 +33,5 @@ if [[ $# -eq 0 ]] ; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
ansible-playbook -i $INVENTORY $PLAYBOOK ${ARGS} --connection=local -e "role_to_run=$1"
|
||||
ansible -m setup -i $INVENTORY localhost --connection=local -e ansible_python_interpreter=/usr/bin/python3 | grep python
|
||||
ansible-playbook -i $INVENTORY $PLAYBOOK --connection=local -e ansible_python_interpreter=/usr/bin/python3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue