1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

Why is checking for iiab_state.yml in Stage 4?

This commit is contained in:
root 2020-09-21 16:41:20 -04:00
parent fe9f058d86
commit 1d36275105

View file

@ -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