Skip to content

Commit

Permalink
Allow NFS-mounted home directories through SELinux.
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardomurri committed May 26, 2016
1 parent 48e544e commit cd5a9ce
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@
fstype=nfs
opts='{{item.options|default("rw,async")}}'
state='{{item.state|default("mounted")}}'


- name: Allow NFS homes through SELinux
command: |
setsebool -P use_nfs_home_dirs=1
when: '{{is_rhel_compatible}} and "{{item.mountpoint}}" == "/home"'

0 comments on commit cd5a9ce

Please sign in to comment.