From 1d3627510573f343fa140b96a166669bf47e87d0 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 21 Sep 2020 16:41:20 -0400 Subject: [PATCH] Why is checking for iiab_state.yml in Stage 4? --- roles/4-server-options/tasks/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/roles/4-server-options/tasks/main.yml b/roles/4-server-options/tasks/main.yml index 2ede8689d..dd581f84a 100644 --- a/roles/4-server-options/tasks/main.yml +++ b/roles/4-server-options/tasks/main.yml @@ -5,7 +5,10 @@ path: "{{ iiab_state_file }}" # /etc/iiab/iiab_state.yml register: iiab_state_file_check -# STRICT CHECK in case {iiab-stages.yml, run-one-role.yml, etc} omit this: +# 2020-09-21: Why is checking for iiab_state.yml in Stage 4 out of curiosity? +# Possibly move this to Stage 0? Either way...this is a STRICT CHECK in case +# {iiab-stages.yml, run-one-role.yml, etc} omit the file from "vars_files:" + - name: ENFORCE precondition that {{ iiab_state_file }} MUST exist assert: that: iiab_state_file_check.stat.exists