main.yml 667 B

12345678910111213141516
  1. ---
  2. - name: Set common OpenShift facts
  3. openshift_facts:
  4. role: common
  5. local_facts:
  6. cluster_id: "{{ openshift_cluster_id | default('default') }}"
  7. debug_level: "{{ openshift_debug_level | default(0) }}"
  8. hostname: "{{ openshift_hostname | default(None) }}"
  9. ip: "{{ openshift_ip | default(None) }}"
  10. public_hostname: "{{ openshift_public_hostname | default(None) }}"
  11. public_ip: "{{ openshift_public_ip | default(None) }}"
  12. use_openshift_sdn: "{{ openshift_use_openshift_sdn | default(None) }}"
  13. deployment_type: "{{ openshift_deployment_type }}"
  14. - name: Set hostname
  15. hostname: name={{ openshift.common.hostname }}