summaryrefslogtreecommitdiffstats
path: root/roles/etcd
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
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')
-rw-r--r--roles/etcd/defaults/main.yaml6
-rw-r--r--roles/etcd/meta/main.yml9
2 files changed, 7 insertions, 8 deletions
diff --git a/roles/etcd/defaults/main.yaml b/roles/etcd/defaults/main.yaml
index 1cb055816..2ec62c37c 100644
--- a/roles/etcd/defaults/main.yaml
+++ b/roles/etcd/defaults/main.yaml
@@ -14,9 +14,3 @@ etcd_advertise_client_urls: "{{ etcd_url_scheme }}://{{ etcd_ip }}:{{ etcd_clien
etcd_listen_client_urls: "{{ etcd_url_scheme }}://{{ etcd_ip }}:{{ etcd_client_port }}"
etcd_data_dir: /var/lib/etcd/
-
-os_firewall_allow:
-- service: etcd
- port: "{{etcd_client_port}}/tcp"
-- service: etcd peering
- port: "{{ etcd_peer_port }}/tcp"
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