blob: 1efdfb336dd09fd42693be02c904f59729c643d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
---
- name: Open firewall ports for GlusterFS
hosts: oo_glusterfs_to_config
vars:
os_firewall_allow:
- service: glusterfs_sshd
port: "2222/tcp"
- service: glusterfs_daemon
port: "24007/tcp"
- service: glusterfs_management
port: "24008/tcp"
- service: glusterfs_bricks
port: "49152-49251/tcp"
roles:
- role: os_firewall
when:
- openshift_storage_glusterfs_is_native | default(True)
- name: Configure GlusterFS
hosts: oo_first_master
roles:
- role: openshift_storage_glusterfs
when: groups.oo_glusterfs_to_config | default([]) | count > 0
|