summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorOpenShift Bot <eparis+openshiftbot@redhat.com>2017-05-18 14:09:58 -0500
committerGitHub <noreply@github.com>2017-05-18 14:09:58 -0500
commiteedd16af0a9413fa46869abb12f2a92d8994ecba (patch)
tree2ab847ab737a9a52927dcee207e504dbb0dc5540 /roles
parent1f280fe3f9389e8bf71ad6cc12145aa24b0bb978 (diff)
parent0d4f8642e01ca676eec6861bc326e55f3f540c94 (diff)
downloadopenshift-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')
-rw-r--r--roles/openshift_node_upgrade/tasks/main.yml6
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