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/4048/head
Dimitri Savineau 2019-06-03 15:28:39 -04:00 committed by Guillaume Abrioux
parent acef6665ca
commit b8bcbacdbb
1 changed files with 1 additions and 3 deletions

View File

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