add redhat compatibilty
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
096c8d97ef
commit
5220267673
@ -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
|
|
||||||
|
@ -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:
|
||||||
@ -39,4 +45,4 @@
|
|||||||
|
|
||||||
#sudo chown root:mail /usr/sbin/msmtp /etc/msmtp{,/{msmtp.conf,revaliases}}
|
#sudo chown root:mail /usr/sbin/msmtp /etc/msmtp{,/{msmtp.conf,revaliases}}
|
||||||
#sudo chmod 2711 /usr/sbin/msmtp
|
#sudo chmod 2711 /usr/sbin/msmtp
|
||||||
#sudo chmod o-rwx /etc/msmtp /etc/msmtp/msmtp.conf;
|
#sudo chmod o-rwx /etc/msmtp /etc/msmtp/msmtp.conf;
|
||||||
|
4
vars/Archlinux.yml
Normal file
4
vars/Archlinux.yml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
msmtp_package:
|
||||||
|
- msmtp
|
||||||
|
- msmtp-mta
|
2
vars/RedHat.yml
Normal file
2
vars/RedHat.yml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
msmtp_package:
|
||||||
|
- msmtp
|
Loading…
Reference in New Issue
Block a user