mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update main.yml
This commit is contained in:
parent
dfebcd3120
commit
52d1757c35
1 changed files with 7 additions and 9 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
- name: ...IS BEGINNING ============================================
|
||||
stat:
|
||||
path: /etc/iiab/iiab.env
|
||||
path: {{ iiab_env_file }}
|
||||
register: NewInstall
|
||||
|
||||
- name: Setting first run flag
|
||||
|
@ -165,9 +165,9 @@
|
|||
include_tasks: hostname.yml
|
||||
when: FQDN_changed
|
||||
|
||||
- name: Add 'runtime' section alongside list of services at /etc/iiab/iiab.ini
|
||||
- name: Add 'runtime' variable values to /etc/iiab/iiab.ini
|
||||
ini_file:
|
||||
dest: "{{ iiab_config_file }}"
|
||||
dest: "{{ iiab_ini_file }}"
|
||||
section: runtime
|
||||
option: "{{ item.option }}"
|
||||
value: "{{ item.value }}"
|
||||
|
@ -209,13 +209,9 @@
|
|||
- option: FQDN_changed
|
||||
value: "{{ FQDN_changed }}"
|
||||
|
||||
#- name: Now changing FQDN
|
||||
# include_tasks: hostname.yml
|
||||
# when: FQDN_changed
|
||||
|
||||
- name: STAGE 0 HAS COMPLETED ======================================
|
||||
- name: Add 'runtime' variable 'is_VM' value if defined, to /etc/iiab/iiab.ini
|
||||
ini_file:
|
||||
dest: "{{ iiab_config_file }}"
|
||||
dest: "{{ iiab_ini_file }}"
|
||||
section: runtime
|
||||
option: "{{ item.option }}"
|
||||
value: "{{ item.value }}"
|
||||
|
@ -223,3 +219,5 @@
|
|||
- option: is_VM
|
||||
value: "yes"
|
||||
when: is_VM is defined
|
||||
|
||||
- name: STAGE 0 HAS COMPLETED ======================================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue