Add ansible_managed header to the templates

This commit is contained in:
Emmanouil Kampitakis 2018-12-02 23:40:41 +01:00
parent cd1eb9e4d0
commit 629da252e6
3 changed files with 3 additions and 0 deletions

View file

@ -1,4 +1,5 @@
#!/bin/bash
{{ ansible_managed | comment }}
mkdir -p /opt/synapse/ssl/
chown synapse:synapse /opt/synapse/ssl
cp /etc/letsencrypt/live/{{ matrix_synapse_domain }}/fullchain.pem /opt/synapse/ssl/{{ matrix_synapse_domain }}.crt

View file

@ -1,4 +1,5 @@
# vim:ft=yaml
{{ ansible_managed | comment }}
# PEM encoded X509 certificate for TLS.
# You can replace the self-signed certificate that synapse
# autogenerates on launch with your own SSL certificate + key pair

View file

@ -1,3 +1,4 @@
{{ ansible_managed | comment }}
/var/log/matrix_synapse/matrix_synapse.log {
daily
rotate {{ matrix_synapse_log_days_keep }}