]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
container: fix tmpfiles.d ceph files
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 14 Feb 2019 14:25:41 +0000 (15:25 +0100)
committerSébastien Han <seb@redhat.com>
Tue, 19 Feb 2019 15:40:08 +0000 (16:40 +0100)
- fix uid/gid in ceph tmpfiles
- move file to `/etc/tmpfiles.d`

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-container-common/tasks/pre_requisites/prerequisites.yml

index 9e6154978897364f6fcaa150febe13df402b206c..127e3e265e0de750eb6ee5bbc4fe75dec9e53218 100644 (file)
@@ -92,8 +92,8 @@
 
 - name: ensure tmpfiles.d is present
   lineinfile:
-    path: /usr/lib/tmpfiles.d/ceph-common.conf
-    line: "d /run/ceph 0770 ceph ceph -"
+    path: /etc/tmpfiles.d/ceph-common.conf
+    line: "d /run/ceph 0770 root root -"
     owner: root
     group: root
     mode: 0644