main.yml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. ---
  2. galaxy_info:
  3. author: Jhon Honce
  4. description: Master
  5. company: Red Hat, Inc.
  6. license: Apache License, Version 2.0
  7. min_ansible_version: 2.2
  8. platforms:
  9. - name: EL
  10. versions:
  11. - 7
  12. categories:
  13. - cloud
  14. dependencies:
  15. - role: openshift_master_facts
  16. - role: openshift_hosted_facts
  17. - role: openshift_master_certificates
  18. - role: openshift_etcd_client_certificates
  19. etcd_cert_subdir: "openshift-master-{{ openshift.common.hostname }}"
  20. etcd_cert_config_dir: "{{ openshift.common.config_base }}/master"
  21. etcd_cert_prefix: "master.etcd-"
  22. when: groups.oo_etcd_to_config | default([]) | length != 0
  23. - role: openshift_clock
  24. - role: openshift_cloud_provider
  25. - role: openshift_builddefaults
  26. - role: openshift_buildoverrides
  27. - role: os_firewall
  28. os_firewall_allow:
  29. - service: api server https
  30. port: "{{ openshift.master.api_port }}/tcp"
  31. - service: api controllers https
  32. port: "{{ openshift.master.controllers_port }}/tcp"
  33. - service: skydns tcp
  34. port: "{{ openshift.master.dns_port }}/tcp"
  35. - service: skydns udp
  36. port: "{{ openshift.master.dns_port }}/udp"
  37. - role: os_firewall
  38. os_firewall_allow:
  39. - service: etcd embedded
  40. port: 4001/tcp
  41. when: groups.oo_etcd_to_config | default([]) | length == 0
  42. - role: nickhammond.logrotate
  43. - role: nuage_master
  44. when: openshift.common.use_nuage | bool
  45. - role: contiv
  46. contiv_role: netmaster
  47. when: openshift.common.use_contiv | bool