diff --git a/roles/ceph-config/templates/ceph.conf.j2 b/roles/ceph-config/templates/ceph.conf.j2 index 23e0b712b..ef9046535 100644 --- a/roles/ceph-config/templates/ceph.conf.j2 +++ b/roles/ceph-config/templates/ceph.conf.j2 @@ -200,7 +200,7 @@ rgw frontends = civetweb port=[{{ ['ansible_' + radosgw_interface][ip_version][0 {% if groups[nfs_group_name] is defined %} {% if nfs_group_name in group_names %} -{% if inventory_hostname in groups.get(nfs_group_name, []) %} +{% if inventory_hostname in groups.get(nfs_group_name, []) and inventory_hostname not in groups.get(rgw_group_name, []) %} {% for host in groups[nfs_group_name] %} {% if nfs_obj_gw %} {% if hostvars[host]['ansible_hostname'] is defined %}