mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-15 08:30:46 +02:00
18 lines
367 B
YAML
18 lines
367 B
YAML
- name: Include dependency 'sys-hlth-msmtp'
|
|
include_role:
|
|
name: sys-hlth-msmtp
|
|
when: run_once_sys_hlth_msmtp is not defined
|
|
|
|
- name: install msmtp msmtp-mta
|
|
community.general.pacman:
|
|
name:
|
|
- msmtp
|
|
- msmtp-mta
|
|
state: present
|
|
|
|
- name: configure msmtprc.conf.j2
|
|
template:
|
|
src: "msmtprc.conf.j2"
|
|
dest: "/root/.msmtprc"
|
|
mode: 600
|