Skip to content

Commit 29961cb

Browse files
committed
feat: add ceph-mon service to osds hosts firewall
1 parent 1c5d937 commit 29961cb

File tree

1 file changed

+1
-1
lines changed
  • etc/kayobe/inventory/group_vars/all

1 file changed

+1
-1
lines changed

etc/kayobe/inventory/group_vars/all/firewall

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ stackhpc_ceph_firewalld_rules_template:
232232
state: enabled
233233
- service: ceph-mon
234234
network: "{{ storage_net_name }}"
235-
state: "{{ 'enabled' if 'mons' in group_names else 'disabled' }}"
235+
state: "{{ 'enabled' if ('mons' in group_names or 'osds' in group_names) else 'disabled' }}"
236236
- port: "{{ stackhpc_ceph_firewalld_radosgw_port }}/tcp"
237237
network: "{{ storage_net_name }}"
238238
state: "{{ 'enabled' if 'rgws' in group_names else 'disabled' }}"

0 commit comments

Comments
 (0)