1
0
Fork 0
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:
A Holt 2020-01-17 12:19:36 -05:00 committed by GitHub
parent 11cec75b09
commit 70da704ce0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -654,8 +654,9 @@ calibreweb_home: "{{ content_base }}/calibre-web" # /library/calibre-web
# =============================================================================
# PLATFORMS:
# TURN ALL OFF AND LET /opt/iiab/iiab/vars/<OS>.yml TURN ON AS APPROPRIATE...
# OS-DEPENDENT VARS: TURN OFF ALL VARS BELOW AND THEN THE CORRECT
# /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)
is_debuntu: False # Covers all 3: Ubuntu, Debian, Raspbian
@ -686,7 +687,18 @@ is_fedora_22: False
is_fedora_18: False
# 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
# 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
# Longer Explanation: https://github.com/iiab/iiab/wiki/IIAB-Variables (Order of Execution and Precedence)
# 3. The correct /opt/iiab/iiab/vars/<OS>.yml is then invoked by any the
# 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