main.yml 563 Bytes
Newer Older
Hinrikus Wolf's avatar
Hinrikus Wolf committed
1
2
---

3
4
5
6
7
8
- name: create tmpfiles
  command: systemd-tmpfiles --create

- name: reload systemd service files
  systemd: daemon_reload=true

Hinrikus Wolf's avatar
Hinrikus Wolf committed
9
10
11
- name: restart postfix
  service: name=postfix state=restarted

12
13
14
- name: restart memcached
  service: name=memcached state=restarted

15
16
17
- name: restart mta-sts resolver
  service: name=postfix-mta-sts-resolver state=restarted

18
19
20
21
22
- name: postmap system
  command: postalias cdb:/etc/aliases

- name: postmap virtual
  command: postmap cdb:/etc/postfix/virtual
23
24
25

- name: postmap transport
  command: postmap cdb:/etc/postfix/transport