Skip to content
Snippets Groups Projects
Commit 915425c3 authored by jurgenhaas's avatar jurgenhaas
Browse files

Implement optional suffix for /var/www

parent e59a6b6c
No related branches found
No related tags found
No related merge requests found
......@@ -3,12 +3,12 @@
- block:
- set_fact:
webRoot='/var/www'
webRoot='/var/www{{ drupal.webRoot|default("") }}'
cronUser='root'
apacheUser='www-data'
when: drupal.jail is not defined
- set_fact:
webRoot='{{ jailroot }}/{{ drupal.jail.name }}/var/www'
webRoot='{{ jailroot }}/{{ drupal.jail.name }}/var/www{{ drupal.webRoot|default("") }}'
cronUser='{{ drupal.jail.name }}'
apacheUser='{{ drupal.jail.name }}'
when: drupal.jail is defined
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment