Skip to content
Snippets Groups Projects
Commit 37d8cdbf authored by jurgenhaas's avatar jurgenhaas
Browse files

Fix the path handling, as we get full paths with the trigger

parent 78f67e88
No related branches found
No related tags found
No related merge requests found
......@@ -3,20 +3,18 @@
- block:
- set_fact:
pathExport='{{ export_path }}'
pathConfig='{{ config_path }}'
pathWorking='/tmp/ansible-cae-{{ lookup('pipe','date +%Y%m%d-%H%M%S') }}'
webRoot='/var/www{{ drupal.webRoot|default("") }}'
apacheUser='www-data'
when: drupal.jail is not defined
- set_fact:
pathExport='{{ jailroot }}/{{ drupal.jail.name }}{{ export_path }}'
pathConfig='{{ jailroot }}/{{ drupal.jail.name }}{{ config_path }}'
pathWorking='/tmp/ansible-cae-{{ drupal.jail.name }}-{{ lookup('pipe','date +%Y%m%d-%H%M%S') }}'
webRoot='{{ jailroot }}/{{ drupal.jail.name }}/var/www{{ drupal.webRoot|default("") }}'
apacheUser='{{ drupal.jail.name }}'
when: drupal.jail is defined
- set_fact:
pathExport='{{ export_path }}'
pathConfig='{{ config_path }}'
installSource={{ drupal.src|default([]) }}
tags: always
......
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