forked from evolix/ansible-roles
tomcat-instance: fix subject mail quoting
This commit is contained in:
parent
cb037d9d91
commit
8eb7952e49
|
@ -3,5 +3,5 @@
|
|||
|
||||
sudo -iu {{ tomcat_instance_name }} systemctl --user stop tomcat
|
||||
{% if tomcat_instance_mail is defined %}
|
||||
/bin/sh -c date | /usr/bin/mail -s {{ inventory_hostname }}/{{ tomcat_instance_name }} : Shutdown instance {{ tomcat_instance_mail }}
|
||||
/bin/sh -c date | /usr/bin/mail -s "{{ inventory_hostname }}/{{ tomcat_instance_name }} : Shutdown instance" {{ tomcat_instance_mail }}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue