X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/d281db9defd2e0c0e6b9761736ff38a9df7391b0..4ae7df074f5a9241c4e2590562efc45defc9f579:/email.yml?ds=sidebyside diff --git a/email.yml b/email.yml index a4bb8e8..91f02f9 100644 --- a/email.yml +++ b/email.yml @@ -1,4 +1,8 @@ -- hosts: all +- hosts: all:!base_only roles: - postfix - journalwatch + tasks: + # some basic security stuff that relies on working email + - name: install apticron, fail2ban + apt: name=apticron,fail2ban state=latest