diff options
author | Andrew Butcher <abutcher@redhat.com> | 2016-07-28 12:37:26 -0700 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2016-07-29 13:27:58 -0700 |
commit | 7ab97920067af0500f1b8ed2eb840e663c4c80e3 (patch) | |
tree | e3525560b787f76388653f53888b31e0def413fa /playbooks/common/openshift-node/config.yml | |
parent | c70525677eed8818602d2a6db080e009689c0ca3 (diff) | |
download | openshift-7ab97920067af0500f1b8ed2eb840e663c4c80e3.tar.gz openshift-7ab97920067af0500f1b8ed2eb840e663c4c80e3.tar.bz2 openshift-7ab97920067af0500f1b8ed2eb840e663c4c80e3.tar.xz openshift-7ab97920067af0500f1b8ed2eb840e663c4c80e3.zip |
Move role dependencies to playbooks.
Diffstat (limited to 'playbooks/common/openshift-node/config.yml')
-rw-r--r-- | playbooks/common/openshift-node/config.yml | 48 |
1 files changed, 46 insertions, 2 deletions
diff --git a/playbooks/common/openshift-node/config.yml b/playbooks/common/openshift-node/config.yml index a8c49d37b..fc6e57439 100644 --- a/playbooks/common/openshift-node/config.yml +++ b/playbooks/common/openshift-node/config.yml @@ -60,8 +60,30 @@ when: "{{ (openshift_http_proxy is defined or openshift_https_proxy is defined) and openshift_generate_no_proxy_hosts | default(True) | bool }}" roles: - - role: openshift_node + - role: openshift_clock + - role: openshift_docker + - role: openshift_node_certificates openshift_ca_host: "{{ groups.oo_first_master.0 }}" + - role: openshift_cloud_provider + - role: openshift_common + - role: openshift_node_dnsmasq + when: openshift.common.use_dnsmasq + - role: os_firewall + os_firewall_allow: + - service: Kubernetes kubelet + port: 10250/tcp + - service: http + port: 80/tcp + - service: https + port: 443/tcp + - service: Openshift kubelet ReadOnlyPort + port: 10255/tcp + - service: Openshift kubelet ReadOnlyPort udp + port: 10255/udp + - service: OpenShift OVS sdn + port: 4789/udp + when: openshift.node.use_openshift_sdn | bool + - role: openshift_node - name: Configure node instances hosts: oo_nodes_to_config:!oo_containerized_master_nodes @@ -77,8 +99,30 @@ when: "{{ (openshift_http_proxy is defined or openshift_https_proxy is defined) and openshift_generate_no_proxy_hosts | default(True) | bool }}" roles: - - role: openshift_node + - role: openshift_clock + - role: openshift_docker + - role: openshift_node_certificates openshift_ca_host: "{{ groups.oo_first_master.0 }}" + - role: openshift_cloud_provider + - role: openshift_common + - role: openshift_node_dnsmasq + when: openshift.common.use_dnsmasq + - role: os_firewall + os_firewall_allow: + - service: Kubernetes kubelet + port: 10250/tcp + - service: http + port: 80/tcp + - service: https + port: 443/tcp + - service: Openshift kubelet ReadOnlyPort + port: 10255/tcp + - service: Openshift kubelet ReadOnlyPort udp + port: 10255/udp + - service: OpenShift OVS sdn + port: 4789/udp + when: openshift.node.use_openshift_sdn | bool + - role: openshift_node - name: Gather and set facts for flannel certificatess hosts: oo_nodes_to_config |