ansible/roles/papertrail/templates/log_files.yml in subspace-2.3.2 vs ansible/roles/papertrail/templates/log_files.yml in subspace-2.3.3
- old
+ new
@@ -1,11 +1,11 @@
# Variables: papertrail_host, papertrail_port
files:
- /u/apps/{{project_name}}/shared/log/{{rails_env}}.log
-{% if 'nginx' in role_names %}
+{% if nginx_installed is defined %}
- /var/log/nginx/error.log
{% endif %}
-{% if 'apache' in role_names %}
+{% if apache_installed is defined %}
- /var/log/apache2/error.log
{% endif %}
destination:
host: {{papertrail_host}}