blob: ce272a9805974602b1cb11cccb45ebd0fe43a9b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
- name: run common roles
hosts: rspamd_servers,mail_servers,imap_servers
tags: common
roles:
- common
- name: configure rspamd
hosts: rspamd_servers
tags: rspamd
roles:
- role: rspamd
- role: apache_vhost
apache_default_vhost: yes
apache_config: '{{ rspamd_apache_config }}'
tags: apache
- role: archive_job
archive_name: rspamd
archive_shell: '{{ rspamd_archive_shell }}'
tags: archive
- name: configure postfix
hosts: mail_servers
tags: postfix,smtp
roles:
- role: postfix_server
- name: configure dovecot
hosts: imap_servers
tags: dovecot,imap
roles:
- role: dovecot
- role: archive_job
archive_name: dovecot
archive_command: '{{ dovecot_archive_script }}'
tags: archive
|