ganesha: fix the name of the export template.

This commit is contained in:
Andrea Dell'Amico 2022-03-21 19:13:42 +01:00
parent e1a7170ea9
commit cd92045909
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 12 additions and 2 deletions

View File

@ -55,12 +55,22 @@
- name: Install and configure ganesha exports using the VFS backend
block:
- name: Install the ganesha configuration files
ansible.builtin.template: src={{ item }}.j2 dest=/etc/ganesha/{{ item }} owner=root group=root mode=0644
ansible.builtin.template:
src: '{{ item }}.j2'
dest: '/etc/ganesha/{{ item }}'
owner: root
group: root
mode: 0644
loop: '{{ nfs_ganesha_conf_files }}'
register: ganesha_conf_files
- name: Install the ganesha export files
ansible.builtin.template: src={{ item.name }}.j2 dest=/etc/ganesha/{{ item.name }} owner=root group=root mode=0644
ansible.builtin.template:
src: ganesha-export.conf.j2
dest: '/etc/ganesha/{{ item.name }}'
owner: root
group: root
mode: 0644
loop: '{{ nfs_server_ganesha_exports }}'
register: ganesha_conf_files