add redhat compatibilty
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
vincent 2022-06-20 22:14:47 +02:00
parent 096c8d97ef
commit 5220267673
4 changed files with 14 additions and 4 deletions

View File

@ -4,6 +4,4 @@ msmtp_mailhub_port: 587
msmtp_hostname: ducamps.win msmtp_hostname: ducamps.win
msmtp_auth_user: vincent@ducamps.win msmtp_auth_user: vincent@ducamps.win
msmtp_auth_pass: the_mandrill_api_key msmtp_auth_pass: the_mandrill_api_key
msmtp_package:
- msmtp
- msmtp-mta

View File

@ -1,3 +1,9 @@
- name: Include OS-specific variables
include_vars: "{{ item }}"
with_first_found:
- files:
- "{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml"
- "{{ ansible_os_family }}.yml"
- name: uninstall ssmtp - name: uninstall ssmtp
package: package:

4
vars/Archlinux.yml Normal file
View File

@ -0,0 +1,4 @@
---
msmtp_package:
- msmtp
- msmtp-mta

2
vars/RedHat.yml Normal file
View File

@ -0,0 +1,2 @@
msmtp_package:
- msmtp