]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
nfs: change ownership on /var/log/ganesha
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 20 Sep 2017 10:35:00 +0000 (12:35 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 21 Sep 2017 07:56:37 +0000 (09:56 +0200)
to fix selinux capability issue that prevent nfs to start.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-nfs/tasks/pre_requisite.yml

index 3488f1da307f50f5246be54a5496f8a99242c8e0..9d4bb2f0da205b5bc6e82f9751a7f1548d16b393 100644 (file)
   notify:
     - restart ceph nfss
 
+- name: change ownership on /var/log/ganesha
+  file:
+    path: '/var/log/ganesha'
+    owner: 'root'
+    group: 'root'
+    mode: '0755'
+
 - name: start nfs gateway service
   service:
     name: nfs-ganesha