mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
Why is checking for iiab_state.yml in Stage 4?
This commit is contained in:
parent
fe9f058d86
commit
1d36275105
1 changed files with 4 additions and 1 deletions
|
@ -5,7 +5,10 @@
|
||||||
path: "{{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
path: "{{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
register: iiab_state_file_check
|
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
|
- name: ENFORCE precondition that {{ iiab_state_file }} MUST exist
|
||||||
assert:
|
assert:
|
||||||
that: iiab_state_file_check.stat.exists
|
that: iiab_state_file_check.stat.exists
|
||||||
|
|
Loading…
Reference in a new issue