mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 19:52:06 +00:00
23 lines
679 B
YAML
23 lines
679 B
YAML
# Initialize
|
|
|
|
- name: ...IS BEGINNING ============================================
|
|
command: echo
|
|
|
|
- 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_tasks: roles/1-prep/tasks/iiab_ini.yml
|
|
when: first_run
|
|
# Now load the computed vars
|
|
- include_tasks: roles/1-prep/tasks/computed_vars.yml
|
|
|
|
- name: ...HAS COMPLETED ===========================================
|
|
command: echo
|