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

ansible-playbooks/general#85 Name set_fact tasks

parent f3e5ab09
No related branches found
No related tags found
No related merge requests found
......@@ -2,10 +2,12 @@
# file: roles/youtrack/tasks/install.yml
- block:
- set_fact:
- name: Set facts without jails
set_fact:
apacheLogDir: /var/log/apache2
when: youtrack.jail is not defined
- set_fact:
- name: Set facts with jails
set_fact:
apacheLogDir: '{{ jailroot }}/{{ youtrack.id }}/var/log/apache2'
when: youtrack.jail is defined
tags:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment