summaryrefslogtreecommitdiffstats
path: root/roles/etcd/meta
diff options
context:
space:
mode:
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