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

change netvars to 0-init

This commit is contained in:
Jerry Vonau 2017-10-26 10:44:48 -05:00
parent 99633173a4
commit 2d49a1590b
7 changed files with 6 additions and 6 deletions

View file

@ -0,0 +1 @@
/opt/iiab/iiab/roles/1-prep/defaults/main.yml

View file

@ -0,0 +1,15 @@
- name: Determine if runansible was run
stat: path=/etc/iiab/iiab.env
register: NewInstall
- name: Setting first run flag
set_fact:
first_run: True
when: not NewInstall.stat.exists
# we need to inialize the ini file and only write the location and version sections once and only
# once to preserve the install date and git hash.
- include: roles/1-prep/tasks/iiab_ini.yml
when: first_run
# Now load the computed vars
- include: roles/1-prep/tasks/computed_vars.yml