From bb8bd718a933d251a27645cfe882e6f28fa73970 Mon Sep 17 00:00:00 2001 From: otthorn Date: Thu, 14 Jan 2021 12:25:23 +0100 Subject: [PATCH] fix yaml lint --- mailserver.yml | 4 ++-- roles/mail-utils/tasks/main.yml | 7 +++---- roles/postfix/tasks/main.yml | 4 +--- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/mailserver.yml b/mailserver.yml index 132c8ca..8842e2b 100644 --- a/mailserver.yml +++ b/mailserver.yml @@ -1,4 +1,4 @@ -#! /usr/bin/env ansible-playbook +#!/usr/bin/env ansible-playbook --- # Deploy base and security - hosts: mail.adm.auro.re @@ -9,7 +9,7 @@ # Deploy LDAP - hosts: mail.adm.auro.re roles: - - ldap_client + - ldap_client # Deploy mail server - hosts: mail.adm.auro.re diff --git a/roles/mail-utils/tasks/main.yml b/roles/mail-utils/tasks/main.yml index 8f6b269..ac9d64c 100644 --- a/roles/mail-utils/tasks/main.yml +++ b/roles/mail-utils/tasks/main.yml @@ -3,7 +3,6 @@ - name: Install small utility tools apt: name: - - swaks # Swiss Army Knife for SMTP - - mutt # small CLI mail client for debug and on-server mail - - pwgen # generate strong and cryptographically secure passwords - + - swaks # Swiss Army Knife for SMTP + - mutt # small CLI mail client for debug and on-server mail + - pwgen # generate strong and cryptographically secure passwords diff --git a/roles/postfix/tasks/main.yml b/roles/postfix/tasks/main.yml index 4b5c269..46820e7 100644 --- a/roles/postfix/tasks/main.yml +++ b/roles/postfix/tasks/main.yml @@ -4,12 +4,10 @@ - name: Install Postfix apt: name: postfix - update_cache: true # apt update beforehand + update_cache: true # apt update beforehand - name: Configure Postfix template: src: main.cf.j2 dest: /etc/postfix/main.cf notify: Restart postfix service - -