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

ansible-playbooks/general#72 All includes are now include_tasks and they...

ansible-playbooks/general#72 All includes are now include_tasks and they always have a tag associated
parent bb368ea2
Branches
No related tags found
No related merge requests found
......@@ -2,7 +2,8 @@
# file: roles/discourse/tasks/install.yml
- name: "Configure Apache"
import_tasks: apache.yml
include_tasks: apache.yml
tags: 'always'
- name: "Clone Repository"
git:
......
......@@ -3,7 +3,7 @@
- name: "Docker Discourse"
set_fact: role_discourse_started=true
tags: always
tags: 'always'
- block:
- name: "Install Certs"
......@@ -13,12 +13,14 @@
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"
import_tasks: install.yml
include_tasks: install.yml
tags: 'always'
when: '"discourse" not in excluded_roles'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment