2020-07-24 20:53:20 +02:00
|
|
|
---
|
|
|
|
- name: Update mail aliases.
|
|
|
|
lineinfile:
|
|
|
|
dest: "{{ aliases_config_file }}"
|
|
|
|
line: "{{ backup_user_git }}: {{ backup_git_mail_target }}"
|
|
|
|
regexp: "^{{ backup_user_git }}:"
|
2020-07-25 15:06:58 +02:00
|
|
|
when: backup_user_git != backup_git_mail_target
|
2020-07-24 20:53:20 +02:00
|
|
|
notify: update aliases
|