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:
parent
24d3d5c989
commit
ec04e861c7
4 changed files with 158 additions and 87 deletions
7
runrole
7
runrole
|
@ -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."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue