mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
New Explanation of <OS>.yml at bott of default_vars.yml
This commit is contained in:
parent
11cec75b09
commit
70da704ce0
1 changed files with 17 additions and 5 deletions
|
@ -654,8 +654,9 @@ calibreweb_home: "{{ content_base }}/calibre-web" # /library/calibre-web
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
|
|
||||||
|
|
||||||
# PLATFORMS:
|
# OS-DEPENDENT VARS: TURN OFF ALL VARS BELOW AND THEN THE CORRECT
|
||||||
# TURN ALL OFF AND LET /opt/iiab/iiab/vars/<OS>.yml TURN ON AS APPROPRIATE...
|
# /opt/iiab/iiab/vars/<OS>.yml WILL TURN ON WHAT'S APPROPRIATE. See "How This
|
||||||
|
# Works" ~30 lines below, and https://github.com/iiab/iiab/wiki/IIAB-Platforms
|
||||||
|
|
||||||
# Wide to narrow (insofar as poss)
|
# Wide to narrow (insofar as poss)
|
||||||
is_debuntu: False # Covers all 3: Ubuntu, Debian, Raspbian
|
is_debuntu: False # Covers all 3: Ubuntu, Debian, Raspbian
|
||||||
|
@ -686,7 +687,18 @@ is_fedora_22: False
|
||||||
is_fedora_18: False
|
is_fedora_18: False
|
||||||
|
|
||||||
# How This Works:
|
# How This Works:
|
||||||
# 1. /opt/iiab/iiab/iiab-install copies scripts/local_facts.fact to /etc/ansible/facts.d/local_facts.fact
|
#
|
||||||
|
# 1. /opt/iiab/iiab/iiab-install copies /opt/iiab/iiab/scripts/local_facts.fact
|
||||||
|
# to /etc/ansible/facts.d/local_facts.fact
|
||||||
# 2. Ansible runs /etc/ansible/facts.d/local_facts.fact to identify the OS
|
# 2. Ansible runs /etc/ansible/facts.d/local_facts.fact to identify the OS
|
||||||
# 3. Within /opt/iiab/iiab, ./iiab-install (iiab-stages.yml) or ./runrole (run-one-role.yml) or Admin Console (iiab-from-console.yml) invoke the correct /opt/iiab/iiab/vars/<OS>.yml
|
# 3. The correct /opt/iiab/iiab/vars/<OS>.yml is then invoked by any the
|
||||||
# Longer Explanation: https://github.com/iiab/iiab/wiki/IIAB-Variables (Order of Execution and Precedence)
|
# following high-level scripts in /opt/iiab/iiab for IIAB operators:
|
||||||
|
# ./iiab-install (uses iiab-stages.yml
|
||||||
|
# ./iiab-network (uses iiab-network.yml)
|
||||||
|
# ./runrole (uses run-one-role.yml)
|
||||||
|
# 4. Likewise behind the scenes:
|
||||||
|
# ./iiab-configure (uses iiab-from-cmdline.yml)
|
||||||
|
# Admin Console (uses iiab-from-console.yml)
|
||||||
|
#
|
||||||
|
# More details, including Order of Execution and Precedence:
|
||||||
|
# https://github.com/iiab/iiab/wiki/IIAB-Variables
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue