mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Replaced depenencies by includes for performance reasons
This commit is contained in:
17
roles/sys-svc-msmtp/tasks/01_core.yml
Normal file
17
roles/sys-svc-msmtp/tasks/01_core.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
- 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
|
Reference in New Issue
Block a user