blob: ae3bff93564d3684f6e8476c9f20610f8bdfa833 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
---
- name: 'setup | Install required pkgs'
ansible.builtin.package:
name:
- 'nfs-common'
- name: 'setup | Create the mount dir'
ansible.builtin.file:
path: '/mnt/data'
state: 'directory'
mode: '755'
- name: 'setup | Setup the NFS mount'
ansible.posix.mount:
src: '{{ nextcloud_nas_mount_path }}'
path: '/mnt/data'
state: 'mounted'
fstype: 'nfs'
|