nfs_server: Move exports file under roles

This commit is contained in:
Timo Makinen 2024-12-17 20:16:02 +00:00
parent 112ad23a66
commit 9fd303c4ad
3 changed files with 15 additions and 18 deletions

View file

@ -15,6 +15,15 @@
owner: root
group: "{{ ansible_wheel }}"
- name: Create exports
ansible.builtin.copy:
dest: /etc/exports
src: exports
mode: "0644"
owner: root
group: "{{ ansible_wheel }}"
notify: Restart nfs-server
- name: Install home/role autocreate scripts
ansible.builtin.copy:
dest: "/usr/local/sbin/{{ item }}"