diff options
author | Andrew Butcher <abutcher@redhat.com> | 2016-03-16 11:55:51 -0400 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2016-03-16 15:12:14 -0400 |
commit | 2907c7bb56ec94a97c76158232794ffd5e765f1a (patch) | |
tree | 82c5c27c04700c63f6bdb07158f5cf1e46eb08ad | |
parent | 917a1bfca108079045582a78c4595394097eb9f2 (diff) | |
download | openshift-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.yml | 3 |
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) }}" |