mirror of https://github.com/ceph/ceph-ansible.git
nfs: remove legacy file
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>pull/4766/head
parent
d06158e9d9
commit
33bfb10af9
|
@ -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>
|
|
|
@ -26,16 +26,3 @@
|
||||||
- item.item.copy_key | bool
|
- item.item.copy_key | bool
|
||||||
when: groups.get(mon_group_name, []) | length > 0
|
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
|
|
||||||
|
|
Loading…
Reference in New Issue