]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-infra: open ceph iscsi/prometheus port
authorNick Erdmann <n@nirf.de>
Tue, 27 Aug 2019 09:25:02 +0000 (11:25 +0200)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Thu, 29 Aug 2019 14:22:28 +0000 (10:22 -0400)
Signed-off-by: Nick Erdmann <n@nirf.de>
(cherry picked from commit 7953ee1b81b03e8b4c542282a900aff2526b9f9b)

roles/ceph-infra/tasks/configure_firewall.yml

index 64aedbcf23c6ded68b4aee3ee94b5269177ac42e..edd2bf771527bd5b65883e85d259e5676f491fc3 100644 (file)
       - 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"