Commit e6d8b058 authored by Guillaume Abrioux's avatar Guillaume Abrioux
Browse files

nfs: get org.ganesha.nfsd.conf from container

Since we need to revert 33bfb10a

, this is an alternative to initial approach.
We can avoid maintaining this file since it is present in container
image. The idea is to simply get it from the image container and write
it to the host.

Fixes: #6501

Signed-off-by: default avatarGuillaume Abrioux <>
parent a670982a
......@@ -41,3 +41,22 @@
- item.item.copy_key | bool
when: groups.get(mon_group_name, []) | length > 0
- name: dbus related tasks
- name: get file
command: "{{ container_binary }} run --rm --entrypoint=cat {{ ceph_docker_registry + '/' + ceph_docker_image + ':' + ceph_docker_image_tag }} /etc/dbus-1/system.d/org.ganesha.nfsd.conf"
register: dbus_ganesha_file
run_once: true
changed_when: false
- name: create dbus service file
content: "{{ dbus_ganesha_file.stdout }}"
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
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment