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

ansible-playbooks/general#72 Always use import_tasks or include_tasks instead of just include

parent a9c14d7a
No related branches found
No related tags found
No related merge requests found
......@@ -24,5 +24,4 @@
when: discourse_repository.changed
- name: "Configure Apache"
include_tasks: apache.yml
tags: 'always'
import_tasks: apache.yml
......@@ -7,7 +7,7 @@
- block:
- name: "Install Certs"
include: '../../letsencrypt/tasks/cert.yml'
include_tasks: '../../letsencrypt/tasks/cert.yml'
with_items:
- domain: '{{ discourse_domain }}'
loop_control:
......@@ -19,6 +19,6 @@
- block:
- name: "Install Discourse"
include: install.yml
import_tasks: 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