1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 11:12:06 +00:00

use config_vars2 in source yaml files

This commit is contained in:
Jerry Vonau 2019-10-01 06:06:17 -05:00
parent bcda29992a
commit b75261fa06
4 changed files with 8 additions and 3 deletions

View file

@ -6,7 +6,7 @@
- vars/default_vars.yml
- vars/{{ ansible_local.local_facts.os_ver }}.yml
- /etc/iiab/local_vars.yml
- /etc/iiab/config_vars.yml
- /etc/iiab/config_vars2.yml
roles:
- { role: 0-init, tags: ['0-init'] }

View file

@ -1,4 +1,9 @@
# Initialize
- name: Create {{ iiab_installed }}
file:
path: "{{ iiab_installed }}"
state: touch
- name: ...IS BEGINNING ============================================
stat:
path: "{{ iiab_env_file }}"

View file

@ -6,7 +6,7 @@
- vars/default_vars.yml
- "vars/{{ ansible_local.local_facts.os_ver }}.yml"
- /etc/iiab/local_vars.yml
- /etc/iiab/config_vars.yml
- /etc/iiab/config_vars2.yml
roles:
- { role: 0-init, tags: ['0-init'] }

View file

@ -16,7 +16,7 @@ iiab_local_vars_file: "{{ iiab_etc_path }}/local_vars.yml"
# Installation status files
iiab_env_file: "{{ iiab_etc_path }}/iiab.env"
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_dir: "{{ iiab_base }}/iiab"