From 7953ee1b81b03e8b4c542282a900aff2526b9f9b Mon Sep 17 00:00:00 2001 From: Nick Erdmann Date: Tue, 27 Aug 2019 11:25:02 +0200 Subject: [PATCH] ceph-infra: open ceph iscsi/prometheus port Signed-off-by: Nick Erdmann --- roles/ceph-infra/tasks/configure_firewall.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/roles/ceph-infra/tasks/configure_firewall.yml b/roles/ceph-infra/tasks/configure_firewall.yml index bce409445..3c6afdeff 100644 --- a/roles/ceph-infra/tasks/configure_firewall.yml +++ b/roles/ceph-infra/tasks/configure_firewall.yml @@ -154,6 +154,18 @@ - iscsi_gw_group_name in group_names tags: firewall + - name: open iscsi/prometheus port + firewalld: + port: "9287/tcp" + zone: "{{ ceph_iscsi_firewall_zone }}" + permanent: true + immediate: true + state: enabled + when: + - iscsi_gw_group_name is defined + - iscsi_gw_group_name in group_names + tags: firewall + - name: open node_exporter port firewalld: port: "{{ node_exporter_port }}/tcp"