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

add in ansible vars, and network control files for network manager and systemd networkd

This commit is contained in:
George Hunt 2019-04-14 14:29:56 -07:00
parent 24d3d5c989
commit ec04e861c7
4 changed files with 158 additions and 87 deletions

View file

@ -4,8 +4,11 @@ INVENTORY="ansible_hosts"
PLAYBOOK="run-one-role.yml"
#PLAYBOOK="iiab-stages.yml"
CWD=`pwd`
export ANSIBLE_LOG_PATH="$CWD/iiab-debug.log"
if [ $# -eq 2 ]; then
export ANSIBLE_LOG_PATH="$2"
else
export ANSIBLE_LOG_PATH="$CWD/iiab-debug.log"
fi
if [ ! -f $PLAYBOOK ]; then
echo "Exiting: IIAB Playbook not found."