nfs_server: Move exports file under roles
This commit is contained in:
parent
112ad23a66
commit
9fd303c4ad
3 changed files with 15 additions and 18 deletions
|
@ -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 }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue