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
|
@ -55,13 +55,14 @@ else
|
|||
else
|
||||
echo "openvpn_install: True" >> /etc/iiab/local_vars.yml
|
||||
fi
|
||||
|
||||
|
||||
if [ -d /opt/iiab/iiab ]; then
|
||||
cd /opt/iiab/iiab
|
||||
#CWD=`pwd`
|
||||
#export ANSIBLE_LOG_PATH="$CWD/iiab-install.log"
|
||||
export ANSIBLE_LOG_PATH="/opt/iiab/iiab/iiab-install.log"
|
||||
ansible-playbook -i $INVENTORY $PLAYBOOK --connection=local
|
||||
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
|
||||
# Above is tighter/better than running all of "./runrole 1-prep"
|
||||
echo
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue