You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
397 B
YAML
16 lines
397 B
YAML
4 years ago
|
---
|
||
|
- name: Set up email redirect
|
||
|
copy:
|
||
|
content: "{{ mail_redirect_to }}"
|
||
|
dest: "{{ ansible_env.HOME }}/.qmail"
|
||
|
|
||
|
- name: Delete catch-all address and local Maildirs
|
||
|
file:
|
||
|
path: "{{ item }}"
|
||
|
state: absent
|
||
|
loop:
|
||
|
- "{{ ansible_env.HOME }}/.spamfolder"
|
||
|
- "{{ ansible_env.HOME }}/.qmail-default"
|
||
|
- "{{ ansible_env.HOME }}/Maildir"
|
||
|
- "{{ ansible_env.HOME }}/users"
|