]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-nfs: use template module for configuration
authorDimitri Savineau <dsavinea@redhat.com>
Mon, 3 Jun 2019 19:28:39 +0000 (15:28 -0400)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 4 Jun 2019 12:18:51 +0000 (14:18 +0200)
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 616c4846980bc01144417416d60fd9bb46aa14a9)

roles/ceph-nfs/tasks/start_nfs.yml

index 419ba3daaa9d348782bbc7cb833c038b5a0661d6..28a5ea25542a111f0b80623b67f0b5acc694e9d2 100644 (file)
     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