2017-10-27 05:44:50 +00:00
|
|
|
# Initialize
|
|
|
|
|
|
|
|
- name: ...IS BEGINNING ============================================
|
|
|
|
command: echo
|
|
|
|
|
2017-09-22 10:02:42 +00:00
|
|
|
- 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
|
|
|
|
|
2017-09-23 07:03:58 +00:00
|
|
|
# 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.
|
2017-09-22 10:02:42 +00:00
|
|
|
- include: roles/1-prep/tasks/iiab_ini.yml
|
|
|
|
when: first_run
|
2017-09-23 07:03:58 +00:00
|
|
|
# Now load the computed vars
|
2017-09-20 02:18:07 +00:00
|
|
|
- include: roles/1-prep/tasks/computed_vars.yml
|
2017-10-27 05:44:50 +00:00
|
|
|
|
2017-10-27 11:26:49 +00:00
|
|
|
- name: ...HAS COMPLETED ===========================================
|
2017-10-27 05:44:50 +00:00
|
|
|
command: echo
|