diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2016-01-25 10:26:03 -0500 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2016-01-25 10:26:03 -0500 |
commit | 00e52c75329b3a94313c210e1af165b5fcffa961 (patch) | |
tree | 0e3a0b112b64d4c5222a123e7c4bcf1d3f6bcece | |
parent | 374ca03970ff0d9e4a46ee5726fa5624723bcded (diff) | |
parent | 59fc7a8c816c162d8ea80d2c0dac2b960714c770 (diff) | |
download | openshift-00e52c75329b3a94313c210e1af165b5fcffa961.tar.gz openshift-00e52c75329b3a94313c210e1af165b5fcffa961.tar.bz2 openshift-00e52c75329b3a94313c210e1af165b5fcffa961.tar.xz openshift-00e52c75329b3a94313c210e1af165b5fcffa961.zip |
Merge pull request #1177 from smunilla/install_storage_on_install
v3_0_to_v3_1_upgrade: Install storage packages
-rw-r--r-- | playbooks/common/openshift-cluster/upgrades/v3_0_to_v3_1/upgrade.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/v3_0_to_v3_1/upgrade.yml b/playbooks/common/openshift-cluster/upgrades/v3_0_to_v3_1/upgrade.yml index 2a4eecad9..8ec379109 100644 --- a/playbooks/common/openshift-cluster/upgrades/v3_0_to_v3_1/upgrade.yml +++ b/playbooks/common/openshift-cluster/upgrades/v3_0_to_v3_1/upgrade.yml @@ -422,6 +422,24 @@ - name: Ensure node service enabled service: name="{{ openshift.common.service_type }}-node" state=started enabled=yes + - name: Install Ceph storage plugin dependencies + action: "{{ ansible_pkg_mgr }} name=ceph-common state=present" + + - name: Install GlusterFS storage plugin dependencies + action: "{{ ansible_pkg_mgr }} name=glusterfs-fuse state=present" + + - name: Set sebooleans to allow gluster storage plugin access from containers + seboolean: + name: "{{ item }}" + state: yes + persistent: yes + when: ansible_selinux and ansible_selinux.status == "enabled" + with_items: + - virt_use_fusefs + - virt_sandbox_use_fusefs + register: sebool_result + failed_when: "'state' not in sebool_result and 'msg' in sebool_result and 'SELinux boolean {{ item }} does not exist' not in sebool_result.msg" + - set_fact: node_update_complete: True |