summaryrefslogtreecommitdiffstats
path: root/roles/etcd/meta
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-06-01 12:05:07 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-06-01 12:05:07 -0400
commit926c3d5c7b7660fa2755541ceb999961cf4cfa21 (patch)
tree79affd1bdc94b8af43a23bf04dec927770b9283f /roles/etcd/meta
parent51f0e95bb65ab8f59f683226afefe381e430aae4 (diff)
downloadopenshift-926c3d5c7b7660fa2755541ceb999961cf4cfa21.tar.gz
openshift-926c3d5c7b7660fa2755541ceb999961cf4cfa21.tar.bz2
openshift-926c3d5c7b7660fa2755541ceb999961cf4cfa21.tar.xz
openshift-926c3d5c7b7660fa2755541ceb999961cf4cfa21.zip
Move os_firewall_allow from defaults to role dependencies.
Diffstat (limited to 'roles/etcd/meta')
-rw-r--r--roles/etcd/meta/main.yml9
1 files changed, 7 insertions, 2 deletions
diff --git a/roles/etcd/meta/main.yml b/roles/etcd/meta/main.yml
index a71b36237..7156a9fff 100644
--- a/roles/etcd/meta/main.yml
+++ b/roles/etcd/meta/main.yml
@@ -16,5 +16,10 @@ galaxy_info:
- cloud
- system
dependencies:
-- { role: os_firewall }
-- { role: etcd_common }
+- role: os_firewall
+ os_firewall_allow:
+ - service: etcd
+ port: "{{etcd_client_port}}/tcp"
+ - service: etcd peering
+ port: "{{ etcd_peer_port }}/tcp"
+- role: etcd_common