main.yml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. ---
  2. r_openshift_master_firewall_enabled: "{{ os_firewall_enabled | default(True) }}"
  3. r_openshift_master_use_firewalld: "{{ os_firewall_use_firewalld | default(False) }}"
  4. openshift_node_ips: []
  5. r_openshift_master_clean_install: false
  6. r_openshift_master_etcd3_storage: false
  7. r_openshift_master_os_firewall_enable: true
  8. r_openshift_master_os_firewall_deny: []
  9. r_openshift_master_os_firewall_allow:
  10. - service: api server https
  11. port: "{{ openshift.master.api_port }}/tcp"
  12. - service: api controllers https
  13. port: "{{ openshift.master.controllers_port }}/tcp"
  14. - service: skydns tcp
  15. port: "{{ openshift.master.dns_port }}/tcp"
  16. - service: skydns udp
  17. port: "{{ openshift.master.dns_port }}/udp"
  18. - service: etcd embedded
  19. port: 4001/tcp
  20. cond: "{{ groups.oo_etcd_to_config | default([]) | length == 0 }}"
  21. oreg_url: ''
  22. oreg_host: "{{ oreg_url.split('/')[0] if '.' in oreg_url.split('/')[0] else '' }}"
  23. oreg_auth_credentials_path: "{{ r_openshift_master_data_dir }}/.docker"
  24. oreg_auth_credentials_replace: False
  25. # NOTE
  26. # r_openshift_master_*_default may be defined external to this role.
  27. # openshift_use_*, if defined, may affect other roles or play behavior.
  28. r_openshift_master_use_openshift_sdn_default: "{{ openshift_use_openshift_sdn | default(True) }}"
  29. r_openshift_master_use_openshift_sdn: "{{ r_openshift_master_use_openshift_sdn_default }}"
  30. r_openshift_master_use_nuage_default: "{{ openshift_use_nuage | default(False) }}"
  31. r_openshift_master_use_nuage: "{{ r_openshift_master_use_nuage_default }}"
  32. r_openshift_master_use_contiv_default: "{{ openshift_use_contiv | default(False) }}"
  33. r_openshift_master_use_contiv: "{{ r_openshift_master_use_contiv_default }}"
  34. r_openshift_master_data_dir_default: "{{ openshift_data_dir | default('/var/lib/origin') }}"
  35. r_openshift_master_data_dir: "{{ r_openshift_master_data_dir_default }}"
  36. r_openshift_master_sdn_network_plugin_name_default: "{{ os_sdn_network_plugin_name | default('redhat/openshift-ovs-subnet') }}"
  37. r_openshift_master_sdn_network_plugin_name: "{{ r_openshift_master_sdn_network_plugin_name_default }}"