Skip to content
Snippets Groups Projects
Commit 4ec09c7d authored by jurgenhaas's avatar jurgenhaas
Browse files

Pre-define syslog identity

parent 254a109a
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,8 @@ $conf['file_directory_path'] = 'sites/{{ item.shortname|default("default") }}/fi
$conf['file_directory_private'] = 'sites/{{ item.shortname|default("default") }}/private';
$conf['file_directory_temp'] = '{% if drupal.jail is defined %}{{ jailroot }}/{{ drupal.jail.name }}{% endif %}/tmp';
$conf['syslog_identity'] = 'drupal_{{ item.domain }}';
{% if varnish_host|default(false) %}
$conf['reverse_proxy'] = TRUE;
$conf['reverse_proxy_addresses'] = array("{{ hostvars[varnish_host]['static_ipv4']|default(hostvars[varnish_host]['ansible_default_ipv4']['address']) }}");
......
......@@ -43,6 +43,8 @@ $conf['file_public_path'] = 'sites/{{ item.shortname|default("default") }}/files
$conf['file_private_path'] = 'sites/{{ item.shortname|default("default") }}/private';
$conf['file_temporary_path'] = '{% if drupal.jail is defined %}{{ jailroot }}/{{ drupal.jail.name }}{% endif %}/tmp';
$conf['syslog_identity'] = 'drupal_{{ item.domain }}';
{% if varnish_host|default(false) %}
$conf['reverse_proxy'] = TRUE;
$conf['reverse_proxy_addresses'] = array("{{ hostvars[varnish_host]['static_ipv4']|default(hostvars[varnish_host]['ansible_default_ipv4']['address']) }}");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment