mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
use config_vars2 in source yaml files
This commit is contained in:
parent
bcda29992a
commit
b75261fa06
4 changed files with 8 additions and 3 deletions
|
@ -6,7 +6,7 @@
|
||||||
- vars/default_vars.yml
|
- vars/default_vars.yml
|
||||||
- vars/{{ ansible_local.local_facts.os_ver }}.yml
|
- vars/{{ ansible_local.local_facts.os_ver }}.yml
|
||||||
- /etc/iiab/local_vars.yml
|
- /etc/iiab/local_vars.yml
|
||||||
- /etc/iiab/config_vars.yml
|
- /etc/iiab/config_vars2.yml
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- { role: 0-init, tags: ['0-init'] }
|
- { role: 0-init, tags: ['0-init'] }
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
# Initialize
|
# Initialize
|
||||||
|
- name: Create {{ iiab_installed }}
|
||||||
|
file:
|
||||||
|
path: "{{ iiab_installed }}"
|
||||||
|
state: touch
|
||||||
|
|
||||||
- name: ...IS BEGINNING ============================================
|
- name: ...IS BEGINNING ============================================
|
||||||
stat:
|
stat:
|
||||||
path: "{{ iiab_env_file }}"
|
path: "{{ iiab_env_file }}"
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
- vars/default_vars.yml
|
- vars/default_vars.yml
|
||||||
- "vars/{{ ansible_local.local_facts.os_ver }}.yml"
|
- "vars/{{ ansible_local.local_facts.os_ver }}.yml"
|
||||||
- /etc/iiab/local_vars.yml
|
- /etc/iiab/local_vars.yml
|
||||||
- /etc/iiab/config_vars.yml
|
- /etc/iiab/config_vars2.yml
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- { role: 0-init, tags: ['0-init'] }
|
- { role: 0-init, tags: ['0-init'] }
|
||||||
|
|
|
@ -16,7 +16,7 @@ iiab_local_vars_file: "{{ iiab_etc_path }}/local_vars.yml"
|
||||||
# Installation status files
|
# Installation status files
|
||||||
iiab_env_file: "{{ iiab_etc_path }}/iiab.env"
|
iiab_env_file: "{{ iiab_etc_path }}/iiab.env"
|
||||||
iiab_ini_file: "{{ iiab_etc_path }}/iiab.ini"
|
iiab_ini_file: "{{ iiab_etc_path }}/iiab.ini"
|
||||||
iiab_installed: "{{ iiab_etc_path }}/config_vars.yml"
|
iiab_installed: "{{ iiab_etc_path }}/config_vars2.yml"
|
||||||
|
|
||||||
iiab_base: /opt/iiab
|
iiab_base: /opt/iiab
|
||||||
iiab_dir: "{{ iiab_base }}/iiab"
|
iiab_dir: "{{ iiab_base }}/iiab"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue