Fix the installation of the conf files.
This commit is contained in:
parent
8aa348b74a
commit
53fb205312
|
@ -46,6 +46,9 @@ autofs_maps: []
|
||||||
nfs_server_enabled: False
|
nfs_server_enabled: False
|
||||||
nfs_server_ganesha_enabled: '{{ nfs_server }}'
|
nfs_server_ganesha_enabled: '{{ nfs_server }}'
|
||||||
|
|
||||||
|
nfs_ganesha_conf_files:
|
||||||
|
- ganesha.conf
|
||||||
|
|
||||||
nfs_server_ganesha_el_repos:
|
nfs_server_ganesha_el_repos:
|
||||||
- centos-release-nfs-ganesha28
|
- centos-release-nfs-ganesha28
|
||||||
- centos-release-ceph-nautilus
|
- centos-release-ceph-nautilus
|
||||||
|
|
|
@ -55,13 +55,13 @@
|
||||||
- name: Install and configure ganesha exports using the VFS backend
|
- name: Install and configure ganesha exports using the VFS backend
|
||||||
block:
|
block:
|
||||||
- name: Install the ganesha configuration files
|
- name: Install the ganesha configuration files
|
||||||
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: '{{ san_ganesha_conf_files }}'
|
loop: '{{ nfs_ganesha_conf_files }}'
|
||||||
register: ganesha_conf_files
|
register: ganesha_conf_files
|
||||||
|
|
||||||
- name: Install the ganesha export files
|
- name: Install the ganesha export files
|
||||||
template: src={{ item }}.j2 dest=/etc/ganesha/{{ item }} owner=root group=root mode=0644
|
ansible.builtin.template: src={{ item.name }}.j2 dest=/etc/ganesha/{{ item.name }} owner=root group=root mode=0644
|
||||||
loop: '{{ san_ganesha_export_files }}'
|
loop: '{{ nfs_server_ganesha_exports }}'
|
||||||
register: ganesha_conf_files
|
register: ganesha_conf_files
|
||||||
|
|
||||||
- name: Ensure that ganesha is started and enabled
|
- name: Ensure that ganesha is started and enabled
|
||||||
|
|
Loading…
Reference in New Issue