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

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

parent e4afd5bf
No related branches found
No related tags found
No related merge requests found
......@@ -7,20 +7,18 @@
- block:
- name: "Install Certs"
include_tasks: '../../letsencrypt/tasks/cert.yml'
include: '../../letsencrypt/tasks/cert.yml'
with_items:
- domain: '{{ discourse_domain }}'
loop_control:
loop_var: domain
when: discourse_protocol|default("https") == "https" and discourse_letsencrypt|default(true)
tags: 'always'
when: '"letsencrypt" not in excluded_roles and groups.proxyserver is not defined'
- block:
- name: "Install Discourse"
include_tasks: install.yml
tags: 'always'
include: install.yml
when: '"discourse" not in excluded_roles'
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