mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
test revert
This commit is contained in:
parent
cfc5573738
commit
507bfa1938
3 changed files with 8 additions and 5 deletions
10
runansible
10
runansible
|
@ -1,6 +1,11 @@
|
|||
#!/bin/bash -e
|
||||
# ./scripts/ansible
|
||||
#!/bin/bash
|
||||
|
||||
# copy var files to /etc/iiab for subsequent use
|
||||
mkdir -p /etc/iiab
|
||||
if [ ! -f /etc/iiab/config_vars.yml ]; then
|
||||
echo "{}" > /etc/iiab/config_vars.yml
|
||||
fi
|
||||
|
||||
# if vars/local_vars.yml is missing, put a default one in place
|
||||
if [ ! -f ./vars/local_vars.yml ]; then
|
||||
OS=`grep ^ID= /etc/*release|cut -d= -f2`
|
||||
|
@ -73,4 +78,3 @@ export ANSIBLE_LOG_PATH="$XSCE_DIR/iiab-install.log"
|
|||
ansible -m setup -i $INVENTORY localhost --connection=local >> /dev/null
|
||||
|
||||
ansible-playbook -i $INVENTORY $PLAYBOOK ${ARGS} --connection=local
|
||||
#ansible-playbook -i $INVENTORY $PLAYBOOK ${ARGS} --syntax-check
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue