summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openshift_facts/tasks')
-rw-r--r--roles/openshift_facts/tasks/main.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/roles/openshift_facts/tasks/main.yml b/roles/openshift_facts/tasks/main.yml
index 832f7ad84..55071436f 100644
--- a/roles/openshift_facts/tasks/main.yml
+++ b/roles/openshift_facts/tasks/main.yml
@@ -9,5 +9,8 @@
- name: Ensure PyYaml is installed
action: "{{ ansible_pkg_mgr }} name=PyYAML state=present"
-- name: Gather Cluster facts
+- name: Gather Cluster facts and set is_containerized if needed
openshift_facts:
+ role: common
+ local_facts:
+ is_containerized: "{{ openshift_containerized | default(None) }}"