listserv.yml 950 Bytes
Newer Older
Wágner Ferenc's avatar
Wágner Ferenc committed
1
2
3
4
5
6
---
- hosts: lilac.mail.einfra.hu
  gather_subset: min

  roles:
  # Exim first, otherwise debian-basic pulls in sendmail
7
8
  - role: mailman
    tags: mailman
Wágner Ferenc's avatar
Wágner Ferenc committed
9
10
11
12
13
14
15
16
17
18
19
20
21
  - common.debian-basic
  - common.monitored-server
  - common.munin-node
  - common.nevtar
  - common.niif-apt-repo
  - common.sudoers
  - common.persistent-journal
  - role: common.metricbeat
    tags: common.metricbeat
    template_name: mail
  - role: common.journalbeat
    tags: common.journalbeat
    template_name: mail
22
23
  - role: apache
    tags: apache
Wágner Ferenc's avatar
Wágner Ferenc committed
24
25
26

  vars:
  - nss_cn: listserv.niif.hu
Wágner Ferenc's avatar
Wágner Ferenc committed
27
  - list_domain: listserv.niif.hu
28
29
30
  - munin_custom_plugins:
      exim_mailstats: exim_mailstats
      exim_mailqueue: exim_mailqueue
Wágner Ferenc's avatar
Wágner Ferenc committed
31
32
33
34
35
36
37
38
39
40

  tasks:
  # This enables TAB completion of host names
  - name: Disable hashing of known hosts by ssh
    become: yes
    lineinfile:
      dest: /etc/ssh/ssh_config
      regexp: ^[# \t]*HashKnownHosts[ ]
      line: "    HashKnownHosts no"
    tags: ssh