Remove nfs mount from workstations

This commit is contained in:
Salt 2022-08-26 23:28:23 -05:00
parent 78167a76c0
commit e3ece57eca

View File

@ -4,11 +4,11 @@
# Home desktops # Home desktops
- hosts: device_roles_workstation - hosts: device_roles_workstation
tasks: tasks:
- name: assure vm-fs-1 nfs mountpoint
ansible.builtin.file: path=/nfs/vm-fs-1.home.mgmt.desu.ltd state=directory owner=root group=root mode=0755
tags: [ desktop, nfs ]
- name: assure vm-fs-1 nfs mount - name: assure vm-fs-1 nfs mount
mount: path=/nfs/vm-fs-1.home.mgmt.desu.ltd src=vm-fs-1.home.mgmt.desu.ltd:/nfs fstype=nfs4 opts="rsize=10248576,wsize=1048576,soft,timeo=600,retrans=2,_netdev" state=mounted mount: path=/nfs/vm-fs-1.home.mgmt.desu.ltd src=vm-fs-1.home.mgmt.desu.ltd:/nfs fstype=nfs4 opts="rsize=10248576,wsize=1048576,soft,timeo=600,retrans=2,_netdev" state=absent
tags: [ desktop, nfs ]
- name: assure vm-fs-1 nfs mountpoint
ansible.builtin.file: path=/nfs/vm-fs-1.home.mgmt.desu.ltd state=absent owner=root group=root mode=0755
tags: [ desktop, nfs ] tags: [ desktop, nfs ]
roles: roles:
- role: udev - role: udev