diff options
author | OpenShift Bot <eparis+openshiftbot@redhat.com> | 2017-05-18 14:09:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-18 14:09:58 -0500 |
commit | eedd16af0a9413fa46869abb12f2a92d8994ecba (patch) | |
tree | 2ab847ab737a9a52927dcee207e504dbb0dc5540 /roles/openshift_node_upgrade | |
parent | 1f280fe3f9389e8bf71ad6cc12145aa24b0bb978 (diff) | |
parent | 0d4f8642e01ca676eec6861bc326e55f3f540c94 (diff) | |
download | openshift-eedd16af0a9413fa46869abb12f2a92d8994ecba.tar.gz openshift-eedd16af0a9413fa46869abb12f2a92d8994ecba.tar.bz2 openshift-eedd16af0a9413fa46869abb12f2a92d8994ecba.tar.xz openshift-eedd16af0a9413fa46869abb12f2a92d8994ecba.zip |
Merge pull request #4165 from sdodson/BZ1450167
Merged by openshift-bot
Diffstat (limited to 'roles/openshift_node_upgrade')
-rw-r--r-- | roles/openshift_node_upgrade/tasks/main.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/openshift_node_upgrade/tasks/main.yml b/roles/openshift_node_upgrade/tasks/main.yml index 94c97d0a5..a41a97e01 100644 --- a/roles/openshift_node_upgrade/tasks/main.yml +++ b/roles/openshift_node_upgrade/tasks/main.yml @@ -127,6 +127,12 @@ - openshift_disable_swap | default(true) | bool # End Disable Swap Block +- name: Reset selinux context + command: restorecon -RF {{ openshift.common.data_dir }}/openshift.local.volumes + when: + - ansible_selinux is defined + - ansible_selinux.status == 'enabled' + # Restart all services - include: restart.yml |