9 lines
262 B
YAML
9 lines
262 B
YAML
---
|
|
- name: Update mail aliases.
|
|
lineinfile:
|
|
dest: "{{ aliases_config_file }}"
|
|
line: "{{ backup_user_git }}: {{ backup_git_mail_target }}"
|
|
regexp: "^{{ backup_user_git }}:"
|
|
when: backup_user_git != backup_git_mail_target
|
|
notify: update aliases
|