Merge pull request #2104 from ceph/rgw-section

rgw/nfs: fix section duplication
pull/2109/merge
Sébastien Han 2017-10-25 17:35:01 +02:00 committed by GitHub
commit 613b6a30f1
1 changed files with 1 additions and 1 deletions

View File

@ -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 %}