Move modify_dir_path out of precheck.yaml
yum-update.yaml will define modify_dir_path, so it won't exist during precheck.
This commit is contained in:
parent
60c8e52079
commit
e40a425633
@ -2,6 +2,12 @@
|
|||||||
tags:
|
tags:
|
||||||
- always
|
- always
|
||||||
|
|
||||||
|
- name: Ensure that modify_dir_path is defined
|
||||||
|
assert:
|
||||||
|
that:
|
||||||
|
- modify_dir_path is defined
|
||||||
|
- modify_dir_path | length > 0
|
||||||
|
|
||||||
- name: Set default modified_append_tag
|
- name: Set default modified_append_tag
|
||||||
set_fact:
|
set_fact:
|
||||||
modified_append_tag: "{{ lookup('pipe','date +-modified-%Y%m%d%H%M%S') }}"
|
modified_append_tag: "{{ lookup('pipe','date +-modified-%Y%m%d%H%M%S') }}"
|
||||||
|
@ -4,8 +4,3 @@
|
|||||||
- source_image is defined
|
- source_image is defined
|
||||||
- source_image | length > 0
|
- source_image | length > 0
|
||||||
|
|
||||||
- name: Ensure that modify_dir_path is defined
|
|
||||||
assert:
|
|
||||||
that:
|
|
||||||
- modify_dir_path is defined
|
|
||||||
- modify_dir_path | length > 0
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user