Fixed regression introduced by commit 276177900b
continuous-integration/drone/push Build is passing Details

The default behavior for ansible template is to overwrite the
targeted file.  Since we dont always want to overwrite a file when
we play this role, we set `force` to `False` by default. This means
that if the `dest` already exists, ansible will not overwrite it
with it's given template.

This is fine for most of the tasks in this role, but in the case
of `{{ evoadmin_scripts_dir }}/web-mail.tpl`,the file is created
by a task that runs prior to the template task, so setting it to
`False` by default means it never gets updated and clients dont get
notified when they create new websites.
This commit is contained in:
Patrick Marchand 2019-12-24 14:10:24 -05:00
parent 2a1e0b7ef6
commit 20191c8873
2 changed files with 2 additions and 1 deletions

View File

@ -67,6 +67,7 @@ The **patch** part changes incrementally at each release.
* evolinux-base: Fix our zsyslog rotate config that doesn't work on Debian 10
* certbot: Properly evaluate when apache is installed
* evolinux-base: Don't make alert5.service executable as systemd will complain
* webapps/evoadmin-web: Set default evoadmin_mail_tpl_force to True to fix a regression where the mail template would not get updated because the file is created before the role is first run.
### Security

View File

@ -17,7 +17,7 @@ evoadmin_force_vhost: False
evoadmin_config_local_php_force: False
evoadmin_sudoers_conf_force: False
evoadmin_add_conf_force: False
evoadmin_mail_tpl_force: False
evoadmin_mail_tpl_force: True
evoadmin_htpasswd_force: False
evoadmin_htpasswd: False