main.yml 750 B

123456789101112131415161718
  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. sdn_network_plugin_name: "{{ os_sdn_network_plugin_name | default(None) }}"
  14. deployment_type: "{{ openshift_deployment_type }}"
  15. - name: Set hostname
  16. hostname: name={{ openshift.common.hostname }}