summaryrefslogtreecommitdiffstats
path: root/roles/etcd/meta
diff options
context:
space:
mode:
authorJason DeTiberus <detiber@gmail.com>2016-06-01 14:38:27 -0400
committerJason DeTiberus <detiber@gmail.com>2016-06-01 14:38:27 -0400
commitc4c6685855a9dc6b4c698465b799c72d6a4f13bd (patch)
tree96372201e3dab7e2dd91612bbdec72fcbe84e4e9 /roles/etcd/meta
parent54186e0e5022a827e6ffdeaffabcb5403bebe6e6 (diff)
parent4b347b84711fdf0906fa3a270f51c38c23fe247e (diff)
downloadopenshift-c4c6685855a9dc6b4c698465b799c72d6a4f13bd.tar.gz
openshift-c4c6685855a9dc6b4c698465b799c72d6a4f13bd.tar.bz2
openshift-c4c6685855a9dc6b4c698465b799c72d6a4f13bd.tar.xz
openshift-c4c6685855a9dc6b4c698465b799c72d6a4f13bd.zip
Merge pull request #1968 from abutcher/os-firewall-eval
[v2] 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