Skip to content

Commit

Permalink
Merge pull request #4165 from sdodson/BZ1450167
Browse files Browse the repository at this point in the history
Merged by openshift-bot
  • Loading branch information
OpenShift Bot authored May 18, 2017
2 parents 1f280fe + 0d4f864 commit eedd16a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions roles/openshift_node_upgrade/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit eedd16a

Please sign in to comment.