diff options
author | Jose A. Rivera <jarrpa@redhat.com> | 2017-03-14 19:04:58 -0500 |
---|---|---|
committer | Jose A. Rivera <jarrpa@redhat.com> | 2017-04-10 10:58:52 -0500 |
commit | 1a72183498f89644aacd32ae52ed3a65d85c86b3 (patch) | |
tree | 13083277411db742491aa8c7b4ef3c65412f02b7 /playbooks/common | |
parent | de6629addd794c6daaf018943097cc0d6aba5b23 (diff) | |
download | openshift-1a72183498f89644aacd32ae52ed3a65d85c86b3.tar.gz openshift-1a72183498f89644aacd32ae52ed3a65d85c86b3.tar.bz2 openshift-1a72183498f89644aacd32ae52ed3a65d85c86b3.tar.xz openshift-1a72183498f89644aacd32ae52ed3a65d85c86b3.zip |
GlusterFS playbook and role
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
Diffstat (limited to 'playbooks/common')
-rw-r--r-- | playbooks/common/openshift-glusterfs/config.yml | 21 | ||||
l--------- | playbooks/common/openshift-glusterfs/filter_plugins | 1 | ||||
l--------- | playbooks/common/openshift-glusterfs/lookup_plugins | 1 | ||||
l--------- | playbooks/common/openshift-glusterfs/roles | 1 |
4 files changed, 24 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 diff --git a/playbooks/common/openshift-glusterfs/filter_plugins b/playbooks/common/openshift-glusterfs/filter_plugins new file mode 120000 index 000000000..99a95e4ca --- /dev/null +++ b/playbooks/common/openshift-glusterfs/filter_plugins @@ -0,0 +1 @@ +../../../filter_plugins
\ No newline at end of file diff --git a/playbooks/common/openshift-glusterfs/lookup_plugins b/playbooks/common/openshift-glusterfs/lookup_plugins new file mode 120000 index 000000000..ac79701db --- /dev/null +++ b/playbooks/common/openshift-glusterfs/lookup_plugins @@ -0,0 +1 @@ +../../../lookup_plugins
\ No newline at end of file diff --git a/playbooks/common/openshift-glusterfs/roles b/playbooks/common/openshift-glusterfs/roles new file mode 120000 index 000000000..e2b799b9d --- /dev/null +++ b/playbooks/common/openshift-glusterfs/roles @@ -0,0 +1 @@ +../../../roles/
\ No newline at end of file |