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:
Steve Baker 2018-05-04 13:09:55 +12:00
parent 60c8e52079
commit e40a425633
2 changed files with 6 additions and 5 deletions

View File

@ -2,6 +2,12 @@
tags:
- 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
set_fact:
modified_append_tag: "{{ lookup('pipe','date +-modified-%Y%m%d%H%M%S') }}"

View File

@ -4,8 +4,3 @@
- source_image is defined
- source_image | length > 0
- name: Ensure that modify_dir_path is defined
assert:
that:
- modify_dir_path is defined
- modify_dir_path | length > 0