16 lines
368 B
YAML
16 lines
368 B
YAML
---
|
|
|
|
- name: Put NFS client on fstab
|
|
ansible.posix.mount:
|
|
path: /net
|
|
src: nfs.mateu.be:/mnt/tank/nfs
|
|
fstype: nfs
|
|
opts: auto,x-systemd.automount,_netdev,nofail,noatime,nolock,tcp,actimeo=1800,bg,retry=10
|
|
state: present
|
|
|
|
- name: Create cron for NFS client
|
|
ansible.builtin.cron:
|
|
name: "mount /net"
|
|
special_time: reboot
|
|
job: "mount -a"
|