ansible/roles/msmtp/tasks/dispatcher.yml

23 lines
506 B
YAML

---
- name: Gather instance facts
setup:
- block:
- name: Generate msmtp configuration file
template:
src: msmtprc
dest: "/opt/misc/msmtprc"
owner: root
group: root
mode: 0644
tags:
- msmtp-config
- name: Generate aliases configuration file
template:
src: aliases
dest: "/opt/misc/aliases"
owner: root
group: root
mode: 0644
tags:
- msmtp-config