The service is nfs-ganesha where ceph-nfs@{{ ansible_hostname }} will be
the name of the container.
Signed-off-by: Sébastien Han <seb@redhat.com>
#ceph_docker_image: "ceph/ganesha"
#ceph_docker_image_tag: latest
-#ceph_nfs_docker_extra_env: -e GANESHA_EPOCH={{ ganesha_epoch }}
+#ceph_nfs_docker_extra_env:
#ceph_config_keys: [] # DON'T TOUCH ME
pre_tasks:
- name: stop non-containerized ceph nfs(s)
service:
- name: "ceph-nfs@{{ ansible_hostname }}"
+ name: nfs-ganesha
state: stopped
enabled: no
ceph_docker_image: "ceph/ganesha"
ceph_docker_image_tag: latest
-#ceph_nfs_docker_extra_env: -e GANESHA_EPOCH={{ ganesha_epoch }}
+ceph_nfs_docker_extra_env:
ceph_config_keys: [] # DON'T TOUCH ME
state: started
enabled: yes
changed_when: false
-
-- name: wait for ceph.conf exists
- wait_for:
- path: "/etc/ceph/{{ cluster }}.conf"
- when: is_atomic
-