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

ansible-playbooks/general#72 Go back to includes for main.yml files

parent 423cee7d
No related branches found
No related tags found
No related merge requests found
......@@ -9,24 +9,22 @@
- block:
- name: "Install Certs"
include_tasks: '../../letsencrypt/tasks/cert.yml'
include: '../../letsencrypt/tasks/cert.yml'
with_items: '{{ youtrack_settings|default([]) }}'
loop_control:
loop_var: domain
when: domain.protocol|default("https") == "https" and domain.letsencrypt|default(true)
tags: 'always'
when: '"letsencrypt" not in excluded_roles and groups.proxyserver is not defined'
- block:
- name: "Install"
include_tasks: 'install.yml'
include: 'install.yml'
with_items: '{{ youtrack_settings|default([]) }}'
loop_control:
loop_var: youtrack
when: limit_youtrack_site is not defined or youtrack.id is not defined or limit_youtrack_site == youtrack.id
tags: 'always'
- name: "Create YouTrack User"
user:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment