Fix yaml lint
This commit is contained in:
parent
17a64241d6
commit
5c9ae10a8c
3 changed files with 14 additions and 24 deletions
|
@ -1,26 +1,16 @@
|
||||||
#!/usr/bin/env ansible-playbook
|
#!/usr/bin/env ansible-playbook
|
||||||
---
|
---
|
||||||
# Deploy base and security
|
|
||||||
- hosts: mail.adm.auro.re
|
|
||||||
roles:
|
|
||||||
- baseconfig
|
|
||||||
- basesecurity
|
|
||||||
|
|
||||||
# Deploy LDAP
|
|
||||||
- hosts: mail.adm.auro.re
|
|
||||||
roles:
|
|
||||||
- ldap_client
|
|
||||||
|
|
||||||
# Deploy mail server
|
# Deploy mail server
|
||||||
- hosts: mail.adm.auro.re
|
- hosts: mail.auro.re
|
||||||
roles:
|
roles:
|
||||||
- mail-utils
|
- mail-utils
|
||||||
- postfix
|
- mail-certificates
|
||||||
- dovecot
|
- nfs-client
|
||||||
|
# - postfix
|
||||||
|
# - dovecot
|
||||||
# - rspamd
|
# - rspamd
|
||||||
# - mail-certificates
|
|
||||||
# - mail-fail2ban
|
# - mail-fail2ban
|
||||||
|
#
|
||||||
# Make OVH server send mails through proxy ?
|
# Make OVH server send mails through proxy ?
|
||||||
# Add multiple MX
|
# Add multiple MX
|
||||||
# Configure DKIM, SPF, Greylisting, etc...
|
# Configure DKIM, SPF, Greylisting, etc...
|
||||||
|
|
|
@ -3,22 +3,22 @@
|
||||||
- name: Install NFS client
|
- name: Install NFS client
|
||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
- nfs-common # use this on any NFS machine, be either client or server
|
- nfs-common # use this on any NFS machine, be either client or server
|
||||||
update_cache: true
|
update_cache: true
|
||||||
|
|
||||||
- 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
|
||||||
|
|
Loading…
Reference in a new issue