Edit comments
This commit is contained in:
parent
4cf7814d74
commit
e0628c60f3
|
@ -21,7 +21,7 @@
|
||||||
tags:
|
tags:
|
||||||
- mail
|
- mail
|
||||||
|
|
||||||
- name: Install msmtp and mailx.
|
- name: Install msmtp and mailx on Debian.
|
||||||
apt:
|
apt:
|
||||||
pkg: "{{item}}"
|
pkg: "{{item}}"
|
||||||
state: present
|
state: present
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
when: ansible_os_family == "Debian"
|
when: ansible_os_family == "Debian"
|
||||||
|
|
||||||
# not tested my modifications with Archlinux
|
# not tested my modifications with Archlinux
|
||||||
- name: Install msmtp and mailx.
|
- name: Install msmtp and mailx on Archlinux.
|
||||||
pacman: name={{item}} state=present
|
pacman: name={{item}} state=present
|
||||||
with_items:
|
with_items:
|
||||||
- msmtp
|
- msmtp
|
||||||
|
|
|
@ -20,9 +20,9 @@ logfile {{msmtp_logfile}}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# default is ‘localhost’. Use domain part of your email address or FQDN of host.
|
# default is localhost. Use domain part of your email address or FQDN of host.
|
||||||
domain {{msmtp_domain}}
|
domain {{msmtp_domain}}
|
||||||
# default is ‘off’. When on, an envelope-from address of the form user@domain will be generated.
|
# default is off. When on, an envelope-from address of the form user@domain will be generated.
|
||||||
auto_from off
|
auto_from off
|
||||||
# The default is to remove BCC headers.
|
# The default is to remove BCC headers.
|
||||||
# remove_bcc_headers on|off
|
# remove_bcc_headers on|off
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# test file for fail2ban
|
|
||||||
---
|
---
|
||||||
- hosts: all
|
- hosts: all
|
||||||
remote_user: vagrant
|
remote_user: vagrant
|
||||||
|
|
Loading…
Reference in a new issue