mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
move NewInstall
This commit is contained in:
parent
8c91f4075c
commit
b61b009f08
2 changed files with 14 additions and 13 deletions
|
@ -1,16 +1,3 @@
|
|||
- 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: NewInstall.stat.exists is defined and not NewInstall.stat.exists
|
||||
|
||||
# we need to inialize the ini file
|
||||
- include: iiab_ini.yml
|
||||
when: first_run
|
||||
|
||||
- name: Set flag for fedora 18
|
||||
set_fact:
|
||||
is_F18: True
|
||||
|
|
|
@ -1,3 +1,17 @@
|
|||
- 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
|
||||
# when: NewInstall.stat.exists is defined and not NewInstall.stat.exists
|
||||
|
||||
# we need to inialize the ini file
|
||||
- include: roles/1-prep/tasks/iiab_ini.yml
|
||||
when: first_run
|
||||
|
||||
- include: roles/1-prep/tasks/computed_vars.yml
|
||||
- include: roles/1-prep/tasks/detected_network.yml
|
||||
when: not installing
|
||||
|
|
Loading…
Reference in a new issue