standard mta on arch is not ssmtp

so use variable for distro specific mtas
This commit is contained in:
rene committed 2022-07-07 22:49:08 +02:00
1 parent 2d65183017
commit 8f609a95e0
4 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@
ignore_errors: True
- block:
- include_tasks: utilities/ssmtp.yml
- include_tasks: utilities/mta.yml
- include_tasks: utilities/netdata.yml
when: netdata is defined and netdata == true
- include_tasks: utilities/snmpd.yml
@@ -1,6 +1,6 @@
- name: server | utilities | install ssmtp
package:
name: "ssmtp"
name: "{{ mta_package }}"
state: present
when: postfix is not defined or postfix == false
+1
View File
@@ -1,3 +1,4 @@
mta_package: msmtp-mta
snmpd_package: net-snmp
snmpd_user_file: "/var/net-snmp/snmpd.conf"
wireguard_package: wireguard-tools
+1
View File
@@ -1,3 +1,4 @@
mta_package: ssmtp
snmpd_package: snmpd
snmpd_user_file: "/var/lib/snmp/snmpd.conf"
wireguard_package: wireguard