10 lines
198 B
YAML
10 lines
198 B
YAML
---
|
|
- name: Update mail aliases.
|
|
lineinfile:
|
|
dest: "{{ aliases_config_file }}"
|
|
line: "root: {{ alias_email }}"
|
|
regexp: "^root:"
|
|
when: alias_email != "root"
|
|
notify: update aliases
|
|
|