Edit comments

This commit is contained in:
Unknown 2018-05-07 16:31:19 +08:00
parent 4cf7814d74
commit e0628c60f3
3 changed files with 4 additions and 5 deletions

View file

@ -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

View file

@ -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

View file

@ -1,4 +1,3 @@
# test file for fail2ban
--- ---
- hosts: all - hosts: all
remote_user: vagrant remote_user: vagrant