From 2907c7bb56ec94a97c76158232794ffd5e765f1a Mon Sep 17 00:00:00 2001 From: Andrew Butcher Date: Wed, 16 Mar 2016 11:55:51 -0400 Subject: Fall back to deployment_type in openshift_facts. --- roles/openshift_facts/tasks/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'roles/openshift_facts/tasks') 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) }}" -- cgit v1.2.3