| nas.yaml - infra - Terraform IoC for my remote (Hetzner) and local (Incus) serv… | |
| git clone git://jay.scot/infra | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| nas.yaml (737B) | |
| --- | |
| 1 #cloud-config | |
| 2 package_upgrade: true | |
| 3 hostname: nas.jay.scot | |
| 4 timezone: Europe/London | |
| 5 manage_resolv_conf: true | |
| 6 | |
| 7 resolv_conf: | |
| 8 nameservers: ['192.168.2.10', '1.1.1.1'] | |
| 9 | |
| 10 packages: | |
| 11 - samba | |
| 12 | |
| 13 users: | |
| 14 - name: samba | |
| 15 group: users | |
| 16 passwd: $6$WNXusbujTtdH5X3z$43RgrNloS.Qz9nVoN5jIiaSpzgrur9KpRwfiQP.3… | |
| 17 | |
| 18 write_files: | |
| 19 - path: /etc/samba/smb.conf | |
| 20 permissions: '0644' | |
| 21 defer: true | |
| 22 content: | | |
| 23 [global] | |
| 24 allow insecure wide links = yes | |
| 25 workgroup = WORKGROUP | |
| 26 dos charset = cp866 | |
| 27 unix charset = utf-8 | |
| 28 force user = samba | |
| 29 | |
| 30 [storage] | |
| 31 follow symlinks = yes | |
| 32 wide links = yes | |
| 33 browseable = yes | |
| 34 writeable = yes | |
| 35 path = /share |