mirror of https://github.com/ceph/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.pull/2607/head
parent
49a4712485
commit
f45662e270
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue