13 lines
219 B
YAML
13 lines
219 B
YAML
---
|
|
- name: Install msmtp
|
|
yum:
|
|
name:
|
|
- "{{ msmtp_rpm_file }}"
|
|
- mailx
|
|
state: present
|
|
disable_gpg_check: yes
|
|
notify:
|
|
- test mail
|
|
- restart msmtpd
|
|
when: ansible_os_family == "RedHat"
|