From: Andy McCrae Date: Mon, 19 Feb 2018 16:57:18 +0000 (+0000) Subject: Fix template reference for ganesha.conf X-Git-Tag: v3.1.0rc7~14 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c90535ecce616f83e9d6cc2e4a78487ea7d63fd9;p=ceph-ansible.git Fix template reference for ganesha.conf We can simply reference the template name since it exists within the role that we are calling. We don't need to check the ANSIBLE_ROLE_PATH or playbooks directory for the file. Signed-off-by: Lionel Sausin --- diff --git a/roles/ceph-nfs/tasks/start_nfs.yml b/roles/ceph-nfs/tasks/start_nfs.yml index bfd3266e4..775480d33 100644 --- a/roles/ceph-nfs/tasks/start_nfs.yml +++ b/roles/ceph-nfs/tasks/start_nfs.yml @@ -25,7 +25,7 @@ - name: generate ganesha configuration file action: config_template args: - src: "{{ lookup('env', 'ANSIBLE_ROLES_PATH') | default (playbook_dir + '/roles', true) }}/ceph-nfs/templates/ganesha.conf.j2" + src: "ganesha.conf.j2" dest: /etc/ganesha/ganesha.conf owner: "root" group: "root"