summaryrefslogtreecommitdiffstats
path: root/roles/common/tasks/main.yml
blob: ed84cb5acdd0d452f21613bf3207654544feb91a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
- include: sysctl.yml   tags=sysctl
- include: hosts.yml
- include: apt.yml      tags=apt
- include: firewall.yml tags=firewall,iptables
- include: samhain.yml  tags=samhain
- include: rkhunter.yml tags=rkhunter
- include: fail2ban.yml tags=fail2ban
- include: ipsec.yml    tags=strongswan,ipsec
- include: logging.yml  tags=logging
- include: mail.yml     tags=mail,postfix
- include: sql.yml      tags=mysql,sql
  # XXX: the conditional here is a bit dirty, because it clutters the
  # output with 'skipping' notices.
  when: "'MDA'     in group_names or
         'webmail' in group_names or
         'backup'  in group_names"
- include: ldap.yml     tags=slapd,ldap
  when: "'MDA'           in group_names or
         'MSA'           in group_names or
         'lists'         in group_names or
         'LDAP-producer' in group_names or
         'MX'            in group_names"