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

Better O-init visuals

This commit is contained in:
Jerry Vonau 2017-11-02 22:36:11 -05:00
parent df08c29cfd
commit ac0d86a4de
4 changed files with 39 additions and 41 deletions

View file

@ -1 +0,0 @@
/opt/iiab/iiab/roles/1-prep/defaults/main.yml

View file

@ -0,0 +1,32 @@
# use these as a tag a release at a point in time
iiab_base_ver: 6.4
gui_version: 2
# These entries should never be changed in this file.
# These are defaults for boolean routines,
no_net_restart: False
first_run: False
installing: False
discovered_wan_iface: "none"
gw_active: "none"
internet_available: False
is_F18: False
no_NM_reload: False
exFAT_enabled: False
gui_port: 80
# Set default for discovered hardware
rpi_model: none
is_rpi: False
xo_model: none
rtc_id: ds3231
NUC6_firmware_needed: False
# used in 2-common xo.yml
wifi_id: none
is_F20: False
is_F21: False
is_F22: False
is_F23: False
is_F24: False

View file

@ -210,7 +210,7 @@
- option: 'FQDN_changed'
value: '{{ FQDN_changed }}'
- name: add version section
- name: STAGE 0 HAS COMPLETED ======================================
ini_file: dest='{{ iiab_config_file }}'
section=runtime
option='{{ item.option }}'

View file

@ -1,9 +1,9 @@
# Initialize
- name: ...IS BEGINNING ============================================
include_vars: roles/1-prep/defaults/main.yml
include_vars: roles/0-init/defaults/main.yml
- name: Determine if runansible was run
- name: Determine if installer was run
stat: path=/etc/iiab/iiab.env
register: NewInstall
@ -14,10 +14,9 @@
# 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
- name: Write iiab_ini.yml for the first time
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
- name: Loading computed_vars
include_tasks: roles/0-init/tasks/computed_vars.yml

View file

@ -1,32 +0,0 @@
# use these as a tag a release at a point in time
iiab_base_ver: 6.4
gui_version: 2
# These entries should never be changed in this file.
# These are defaults for boolean routines,
no_net_restart: False
first_run: False
installing: False
discovered_wan_iface: "none"
gw_active: "none"
internet_available: False
is_F18: False
no_NM_reload: False
exFAT_enabled: False
gui_port: 80
# Set default for discovered hardware
rpi_model: none
is_rpi: False
xo_model: none
rtc_id: ds3231
NUC6_firmware_needed: False
# used in 2-common xo.yml
wifi_id: none
is_F20: False
is_F21: False
is_F22: False
is_F23: False
is_F24: False