]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
nfs: remove legacy file
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 21 Nov 2019 15:39:42 +0000 (16:39 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 22 Nov 2019 04:11:41 +0000 (05:11 +0100)
this file is provided by the packaging (nfs-ganesha) so there's no need
to maintain it in ceph-ansible

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-nfs/files/org.ganesha.nfsd.conf [deleted file]
roles/ceph-nfs/tasks/pre_requisite_container.yml

diff --git a/roles/ceph-nfs/files/org.ganesha.nfsd.conf b/roles/ceph-nfs/files/org.ganesha.nfsd.conf
deleted file mode 100644 (file)
index 8d952b0..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->
-
-<!DOCTYPE busconfig PUBLIC
- "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
- "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
-<busconfig>
-  <!-- Only root can own the service -->
-  <policy user="root">
-    <allow own="org.ganesha.nfsd"/>
-    <allow send_destination="org.ganesha.nfsd"/>
-
-    <allow send_destination="org.ganesha.nfsd"
-           send_interface="org.freedesktop.DBus.Introspectable"/>
-
-    <allow send_destination="org.ganesha.nfsd"
-           send_interface="org.ganesha.nfsd.CBSIM"/>
-
-    <allow send_destination="org.ganesha.nfsd"
-           send_interface="org.ganesha.nfsd.admin"/>
-  </policy>
-</busconfig>
index 2c96d65239782b1c41d6fea960ce734ce9c0f1b9..8112a8e2139cbc3c16443196efba540305aa0d30 100644 (file)
         - item.item.copy_key | bool
   when: groups.get(mon_group_name, []) | length > 0
 
-- name: dbus related tasks
-  block:
-    - name: create dbus service file
-      copy:
-        src: "org.ganesha.nfsd.conf"
-        dest: /etc/dbus-1/system.d/org.ganesha.nfsd.conf
-        owner: "root"
-        group: "root"
-        mode: "0644"
-
-    - name: reload dbus configuration
-      command: "killall -SIGHUP dbus-daemon"
-  when: ceph_nfs_dynamic_exports | bool