summaryrefslogtreecommitdiffstats
path: root/roles/openshift_sanitize_inventory
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-11-16 10:52:56 -0500
committerRussell Teague <rteague@redhat.com>2017-11-16 10:52:56 -0500
commita4c533e2a567562248768b2bc4998d1a36810894 (patch)
treeef2ad1d0969d7530f2b42d75046e714f01e21621 /roles/openshift_sanitize_inventory
parent7a18158c1df667d2bc45fae3ca62ed35400bedb8 (diff)
downloadopenshift-a4c533e2a567562248768b2bc4998d1a36810894.tar.gz
openshift-a4c533e2a567562248768b2bc4998d1a36810894.tar.bz2
openshift-a4c533e2a567562248768b2bc4998d1a36810894.tar.xz
openshift-a4c533e2a567562248768b2bc4998d1a36810894.zip
Include Deprecation - Init Playbook Paths
Diffstat (limited to 'roles/openshift_sanitize_inventory')
-rw-r--r--roles/openshift_sanitize_inventory/tasks/deprecations.yml2
-rw-r--r--roles/openshift_sanitize_inventory/tasks/main.yml4
2 files changed, 3 insertions, 3 deletions
diff --git a/roles/openshift_sanitize_inventory/tasks/deprecations.yml b/roles/openshift_sanitize_inventory/tasks/deprecations.yml
index 94d3acffc..795b8ee60 100644
--- a/roles/openshift_sanitize_inventory/tasks/deprecations.yml
+++ b/roles/openshift_sanitize_inventory/tasks/deprecations.yml
@@ -16,6 +16,6 @@
# for with_fileglob Ansible resolves the path relative to the roles/<rolename>/files directory
- name: Assign deprecated variables to correct counterparts
- include: "{{ item }}"
+ include_tasks: "{{ item }}"
with_fileglob:
- "../tasks/__deprecations_*.yml"
diff --git a/roles/openshift_sanitize_inventory/tasks/main.yml b/roles/openshift_sanitize_inventory/tasks/main.yml
index 70b236033..77428272c 100644
--- a/roles/openshift_sanitize_inventory/tasks/main.yml
+++ b/roles/openshift_sanitize_inventory/tasks/main.yml
@@ -1,7 +1,7 @@
---
# We should print out deprecations prior to any failures so that if a play does fail for other reasons
# the user would also be aware of any deprecated variables they should note to adjust
-- include: deprecations.yml
+- include_tasks: deprecations.yml
- name: Abort when conflicting deployment type variables are set
when:
@@ -53,7 +53,7 @@
openshift_release is "{{ openshift_release }}" which is not a valid version string.
Please set it to a version string like "3.4".
-- include: unsupported.yml
+- include_tasks: unsupported.yml
when:
- not openshift_enable_unsupported_configurations | default(false) | bool