diff --git a/host_vars/shell02.foo.sh.yml b/host_vars/shell02.foo.sh.yml index ef9f685..c34042b 100644 --- a/host_vars/shell02.foo.sh.yml +++ b/host_vars/shell02.foo.sh.yml @@ -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] diff --git a/playbooks/nas.yml b/playbooks/nas.yml index 3557799..15a4496 100644 --- a/playbooks/nas.yml +++ b/playbooks/nas.yml @@ -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) \ diff --git a/playbooks/shell.yml b/playbooks/shell.yml index f210664..b002b70 100644 --- a/playbooks/shell.yml +++ b/playbooks/shell.yml @@ -17,7 +17,6 @@ - "nfs/{{ inventory_hostname }}@{{ kerberos_realm }}" - nfs-client - sssd - - mkhomedir - autofs - thinlinc-server