Don't open firewall for self in registry hosts

This commit is contained in:
Timo Makinen 2021-09-12 12:37:39 +00:00
parent 90833d6513
commit 0404bafac2

View file

@ -6,5 +6,5 @@ firewall_in:
- {proto: tcp, port: 22, from: [172.20.20.0/22]}
- {proto: tcp, port: 443}
- {proto: tcp, port: 4949, from: [172.20.20.0/22]}
- {proto: tcp, port: 24007, from: "{{ groups[glusterfs_group] }}"}
- {proto: tcp, port: "49152:49170", from: "{{ groups[glusterfs_group] }}"}
- {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 }}"}