diff options
author | Andrew Butcher <abutcher@redhat.com> | 2017-01-09 15:22:06 -0500 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2017-01-09 15:22:06 -0500 |
commit | d113f03968476c4bf899e20317bfa644ee539560 (patch) | |
tree | 8ad5a369054efec56b6b34ad5f7962b0dae9d04c /roles/openshift_master | |
parent | afa745c53379408955b87db91b9b29d51fabf37b (diff) | |
download | openshift-d113f03968476c4bf899e20317bfa644ee539560.tar.gz openshift-d113f03968476c4bf899e20317bfa644ee539560.tar.bz2 openshift-d113f03968476c4bf899e20317bfa644ee539560.tar.xz openshift-d113f03968476c4bf899e20317bfa644ee539560.zip |
Move role dependencies out of playbooks for openshift_master, openshift_node and openshift_hosted.
Diffstat (limited to 'roles/openshift_master')
-rw-r--r-- | roles/openshift_master/meta/main.yml | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/roles/openshift_master/meta/main.yml b/roles/openshift_master/meta/main.yml index 7457e4378..3a595b2d1 100644 --- a/roles/openshift_master/meta/main.yml +++ b/roles/openshift_master/meta/main.yml @@ -11,4 +11,33 @@ galaxy_info: - 7 categories: - cloud -dependencies: [] +dependencies: +- role: openshift_master_facts +- role: openshift_hosted_facts +- role: openshift_master_certificates +- role: openshift_etcd_client_certificates + etcd_cert_subdir: "openshift-master-{{ openshift.common.hostname }}" + etcd_cert_config_dir: "{{ openshift.common.config_base }}/master" + etcd_cert_prefix: "master.etcd-" + when: groups.oo_etcd_to_config | default([]) | length != 0 +- role: openshift_clock +- role: openshift_cloud_provider +- role: openshift_builddefaults +- role: os_firewall + os_firewall_allow: + - service: api server https + port: "{{ openshift.master.api_port }}/tcp" + - service: api controllers https + port: "{{ openshift.master.controllers_port }}/tcp" + - service: skydns tcp + port: "{{ openshift.master.dns_port }}/tcp" + - service: skydns udp + port: "{{ openshift.master.dns_port }}/udp" +- role: os_firewall + os_firewall_allow: + - service: etcd embedded + port: 4001/tcp + when: groups.oo_etcd_to_config | default([]) | length == 0 +- role: nickhammond.logrotate +- role: nuage_master + when: openshift.common.use_nuage | bool |