ansible/group_vars/registry.yml

10 lines
509 B
YAML

---
# use bigger disk for os as we have web site data there
dsk_size: 60
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 }}"}