Move shell hosts back to NFS mounte home directories

Use static ip for lan network for now to get NFS access to home
directories. Still require kerberos for role directories.
This commit is contained in:
Timo Makinen 2021-03-11 19:27:21 +00:00
parent 6cd2a5bbe5
commit da2440a2af
3 changed files with 6 additions and 2 deletions

View file

@ -9,3 +9,7 @@ network_interfaces:
proto: static
- device: eth1
vlan: 30
ipaddr: 172.20.30.22
netmask: 255.255.255.0
proto: static
nameservers: [172.20.30.2]

View file

@ -33,7 +33,8 @@
copy:
dest: /etc/exports
content: |
/export/home 172.20.30.0/24(rw,root_squash,secure,sec=krb5p) \
/export/home 172.20.30.22/32(rw,root_squash,secure) \
172.20.30.0/24(rw,root_squash,secure,sec=krb5p) \
@nfsclients-rw(rw,root_squash,secure) \
@nfsclients-ro(ro,root_squash,secure)
/export/roles 172.20.30.0/24(rw,root_squash,secure,sec=krb5p) \

View file

@ -17,7 +17,6 @@
- "nfs/{{ inventory_hostname }}@{{ kerberos_realm }}"
- nfs-client
- sssd
- mkhomedir
- autofs
- thinlinc-server