main.yml 342 Bytes
Newer Older
Hinrikus Wolf's avatar
Hinrikus Wolf committed
1
2
3
4
5
---

- name: restart postfix
  service: name=postfix state=restarted

6
7
8
- name: restart memcached
  service: name=memcached state=restarted

9
10
11
12
13
- name: postmap system
  command: postalias cdb:/etc/aliases

- name: postmap virtual
  command: postmap cdb:/etc/postfix/virtual
14
15
16

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