]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-infra: Open prometheus port
authorDimitri Savineau <dsavinea@redhat.com>
Wed, 10 Jul 2019 21:19:29 +0000 (17:19 -0400)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 11 Jul 2019 11:40:22 +0000 (13:40 +0200)
The Prometheus porrt 9090 isn't open in the firewall configuration.
Also the dashboard task on the grafana node was not required because
it's already present on the mgr node.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
roles/ceph-infra/tasks/configure_firewall.yml

index 6a5b855c14aacb9933da55b226c2609c182f45d4..f358180d06d7f5ff0576b43af17d01245f46b178 100644 (file)
           immediate: true
           state: enabled
 
-      - name: open dashboard port
+      - name: open prometheus port
         firewalld:
-          port: "{{ dashboard_port }}/tcp"
+          port: "9090/tcp"
           zone: "{{ ceph_dashboard_firewall_zone }}"
           permanent: true
           immediate: true