ceph-nfs: use template module for configuration

789cef7 introduces a regression in the ganesha configuration file
generation. The new config_template module version broke it.
But the ganesha.conf file isn't an ini file and doesn't really
need to use the config_template module. Instead we can use the
classic template module.

Resolves: #4045

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 616c484698)
pull/4155/head
Dimitri Savineau 2019-06-03 15:28:39 -04:00 committed by Guillaume Abrioux
parent 8b91905dff
commit 14f2d616ee
1 changed files with 2 additions and 5 deletions

View File

@ -33,16 +33,13 @@
mode: "0755" mode: "0755"
- name: generate ganesha configuration file - name: generate ganesha configuration file
action: config_template template:
args:
src: "ganesha.conf.j2" src: "ganesha.conf.j2"
dest: /etc/ganesha/ganesha.conf dest: /etc/ganesha/ganesha.conf
owner: "root" owner: "root"
group: "root" group: "root"
mode: "0644" mode: "0644"
config_type: ini notify: restart ceph nfss
notify:
- restart ceph nfss
- name: create exports directory - name: create exports directory
file: file: