--- datadisks: - 100 glusterfs_group: registry firewall_in: - {proto: tcp, port: 22, from: [172.20.20.0/22]} - {proto: tcp, port: 4949, from: [172.20.20.0/22]} - {proto: tcp, port: 5000, from: [172.20.20.0/22]} - {proto: tcp, port: 24007, from: "{{ groups[glusterfs_group] | reject('equalto', inventory_hostname) | list }}"} - {proto: tcp, port: "49152:49170", from: "{{ groups[glusterfs_group] | reject('equalto', inventory_hostname) | list }}"}