diff options
author | OpenShift Bot <eparis+openshiftbot@redhat.com> | 2017-04-17 16:30:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-17 16:30:53 -0500 |
commit | c5f7ac0c93c3e2138dfaa57a4a58bbd6afb9eb57 (patch) | |
tree | 1e9f1a81b7b76f02bb095ffef0f58934e79fa011 /playbooks/common/openshift-glusterfs/config.yml | |
parent | cf06e28ac23d13e9fe6e48fe66d033d6ebaaa263 (diff) | |
parent | 84f65590e8acebdc0f4be35dd6ab41ec5627420b (diff) | |
download | openshift-c5f7ac0c93c3e2138dfaa57a4a58bbd6afb9eb57.tar.gz openshift-c5f7ac0c93c3e2138dfaa57a4a58bbd6afb9eb57.tar.bz2 openshift-c5f7ac0c93c3e2138dfaa57a4a58bbd6afb9eb57.tar.xz openshift-c5f7ac0c93c3e2138dfaa57a4a58bbd6afb9eb57.zip |
Merge pull request #3793 from jarrpa/glusterfs-registry
Merged by openshift-bot
Diffstat (limited to 'playbooks/common/openshift-glusterfs/config.yml')
-rw-r--r-- | playbooks/common/openshift-glusterfs/config.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/playbooks/common/openshift-glusterfs/config.yml b/playbooks/common/openshift-glusterfs/config.yml new file mode 100644 index 000000000..75faf5ba8 --- /dev/null +++ b/playbooks/common/openshift-glusterfs/config.yml @@ -0,0 +1,21 @@ +--- +- 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: + - os_firewall + +- name: Configure GlusterFS + hosts: oo_first_master + roles: + - role: openshift_storage_glusterfs + when: groups.oo_glusterfs_to_config | default([]) | count > 0 |