Browse Source

Fall back to deployment_type in openshift_facts.

Andrew Butcher 9 years ago
parent
commit
2907c7bb56
1 changed files with 2 additions and 1 deletions
  1. 2 1
      roles/openshift_facts/tasks/main.yml

+ 2 - 1
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) }}"