diff --git a/roles/0-init/tasks/main.yml b/roles/0-init/tasks/main.yml index 26fe41082..903499552 100644 --- a/roles/0-init/tasks/main.yml +++ b/roles/0-init/tasks/main.yml @@ -13,6 +13,11 @@ #xo_model: "{{ ansible_local.local_facts.xo_model }}" iiab_stage: "{{ ansible_local.local_facts.stage }}" +# 2020-10-29: Appears no longer nec (see 3 above ansible_local.local_facts.*) +#- name: Re-read local_facts.facts from /etc/ansible/facts.d +# setup: +# filter: ansible_local + # Initialize /etc/iiab/iiab.ini writing the 'location' and 'version' sections # once and only once, to preserve the install date and git hash. - name: Create {{ iiab_ini_file }}, if it doesn't exist @@ -29,11 +34,6 @@ first_run: True when: not iiab_ini_test.stat.exists -# 2020-10-29: Appears no longer nec (see 3 above ansible_local.local_facts.*) -#- name: Re-read local_facts.facts from /etc/ansible/facts.d -# setup: -# filter: ansible_local - # Copies the latest/known version of iiab-diagnostics into /usr/bin (so it can # be run even if local source tree /opt/iiab/iiab is deleted to conserve disk).