1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 19:52:06 +00:00
iiab/roles/0-init/tasks/main.yml

24 lines
667 B
YAML
Raw Normal View History

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
# 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
# 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