Commit dd4a4cbb authored by Dimitri Savineau's avatar Dimitri Savineau Committed by Dimitri Savineau
Browse files

ceph-infra: Remove restart firewalld handler



There's no need to restart firewalld service when a new rule is
added due to the usage of the immediate flag.
Signed-off-by: default avatarDimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit b7338d43)
parent 4cd53bfb
---
- name: restart firewalld
service:
name: firewalld
state: restarted
enabled: yes
- name: disable ntpd
failed_when: false
service:
......
......@@ -24,7 +24,6 @@
permanent: true
immediate: true
state: enabled
notify: restart firewalld
with_items:
- { 'service': 'ceph-mon', 'zone': "{{ ceph_mon_firewall_zone }}" }
- { 'service': 'ceph', 'zone': "{{ ceph_mgr_firewall_zone }}" }
......@@ -42,7 +41,6 @@
permanent: true
immediate: true
state: enabled
notify: restart firewalld
when:
- mgr_group_name is defined
- mgr_group_name in group_names
......@@ -60,7 +58,6 @@
with_items:
- "{{ public_network }}"
- "{{ cluster_network }}"
notify: restart firewalld
when:
- osd_group_name is defined
- osd_group_name in group_names
......@@ -75,7 +72,6 @@
permanent: true
immediate: true
state: enabled
notify: restart firewalld
when:
- rgw_group_name is defined
- rgw_group_name in group_names
......@@ -90,7 +86,6 @@
permanent: true
immediate: true
state: enabled
notify: restart firewalld
when:
- mds_group_name is defined
- mds_group_name in group_names
......@@ -105,7 +100,6 @@
permanent: true
immediate: true
state: enabled
notify: restart firewalld
when:
- nfs_group_name is defined
- nfs_group_name in group_names
......@@ -120,7 +114,6 @@
permanent: true
immediate: true
state: enabled
notify: restart firewalld
when:
- nfs_group_name is defined
- nfs_group_name in group_names
......@@ -135,7 +128,6 @@
permanent: true
immediate: true
state: enabled
notify: restart firewalld
when:
- rbdmirror_group_name is defined
- rbdmirror_group_name in group_names
......@@ -150,7 +142,6 @@
permanent: true
immediate: true
state: enabled
notify: restart firewalld
when:
- iscsi_gw_group_name is defined
- iscsi_gw_group_name in group_names
......@@ -165,7 +156,6 @@
permanent: true
immediate: true
state: enabled
notify: restart firewalld
when:
- iscsi_gw_group_name is defined
- iscsi_gw_group_name in group_names
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment