summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-03-16 11:55:51 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-03-16 15:12:14 -0400
commit2907c7bb56ec94a97c76158232794ffd5e765f1a (patch)
tree82c5c27c04700c63f6bdb07158f5cf1e46eb08ad
parent917a1bfca108079045582a78c4595394097eb9f2 (diff)
downloadopenshift-2907c7bb56ec94a97c76158232794ffd5e765f1a.tar.gz
openshift-2907c7bb56ec94a97c76158232794ffd5e765f1a.tar.bz2
openshift-2907c7bb56ec94a97c76158232794ffd5e765f1a.tar.xz
openshift-2907c7bb56ec94a97c76158232794ffd5e765f1a.zip
Fall back to deployment_type in openshift_facts.
-rw-r--r--roles/openshift_facts/tasks/main.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/openshift_facts/tasks/main.yml b/roles/openshift_facts/tasks/main.yml
index 89ddb0d98..50e7e5747 100644
--- a/roles/openshift_facts/tasks/main.yml
+++ b/roles/openshift_facts/tasks/main.yml
@@ -25,7 +25,8 @@
openshift_facts:
role: common
local_facts:
- deployment_type: "{{ openshift_deployment_type }}"
+ # TODO: Deprecate deployment_type in favor of openshift_deployment_type
+ deployment_type: "{{ openshift_deployment_type | default(deployment_type) }}"
cluster_id: "{{ openshift_cluster_id | default('default') }}"
hostname: "{{ openshift_hostname | default(None) }}"
ip: "{{ openshift_ip | default(None) }}"