WIP: Setup of a mail server #9

Draft
otthorn wants to merge 151 commits from mailserver into master
Showing only changes of commit 2605266137 - Show all commits

View file

@ -8,17 +8,17 @@
- name: Create mountable dir - name: Create mountable dir
file: file:
path: {{ nfs-mount-path }} path: {{ nfs.mount-path }}
state: directory state: directory
mode: 0644 mode: 0644
owner: {{ nfs-dir-owner }} owner: {{ nfs.dir-owner }}
group: {{ nfs-dir-group }} group: {{ nfs.dir-group }}
- name: Mount and add to fstab - name: Mount and add to fstab
mount: mount:
state: mounted # actively mounted and configured in fstab state: mounted # actively mounted and configured in fstab
src: {{ nfs-src }} src: {{ nfs.src }}
path: {{ nfs-mount-path }} path: {{ nfs.mount-path }}
fstype: nfs fstype: nfs
opts: defaults opts: defaults
# don't specify dump and fsck to keep the 0 (don't) variable # don't specify dump and fsck to keep the 0 (don't) variable