fix yaml lint

This commit is contained in:
otthorn 2021-01-14 12:25:23 +01:00 committed by Otthorn
parent de83af936d
commit 673d77d1be
3 changed files with 6 additions and 9 deletions

View file

@ -1,4 +1,4 @@
#! /usr/bin/env ansible-playbook #!/usr/bin/env ansible-playbook
--- ---
# Deploy base and security # Deploy base and security
- hosts: mail.adm.auro.re - hosts: mail.adm.auro.re
@ -9,7 +9,7 @@
# Deploy LDAP # Deploy LDAP
- hosts: mail.adm.auro.re - hosts: mail.adm.auro.re
roles: roles:
- ldap_client - ldap_client
# Deploy mail server # Deploy mail server
- hosts: mail.adm.auro.re - hosts: mail.adm.auro.re

View file

@ -3,7 +3,6 @@
- name: Install small utility tools - name: Install small utility tools
apt: apt:
name: name:
- swaks # Swiss Army Knife for SMTP - swaks # Swiss Army Knife for SMTP
- mutt # small CLI mail client for debug and on-server mail - mutt # small CLI mail client for debug and on-server mail
- pwgen # generate strong and cryptographically secure passwords - pwgen # generate strong and cryptographically secure passwords

View file

@ -4,12 +4,10 @@
- name: Install Postfix - name: Install Postfix
apt: apt:
name: postfix name: postfix
update_cache: true # apt update beforehand update_cache: true # apt update beforehand
- name: Configure Postfix - name: Configure Postfix
template: template:
src: main.cf.j2 src: main.cf.j2
dest: /etc/postfix/main.cf dest: /etc/postfix/main.cf
notify: Restart postfix service notify: Restart postfix service