ansible-msmtp-mailer/tasks/setup-rocky-9.yml

12 lines
176 B
YAML
Raw Normal View History

2023-03-03 19:58:41 +00:00
---
- name: Install msmtp
yum:
name:
- msmtp
- s-nail
state: present
notify:
- test mail
- restart msmtpd
when: ansible_os_family == "RedHat"