diff --git a/tasks/main.yml b/tasks/main.yml index a92be6eec4025e2a3004d8009ce72e28034bd743..261ce211ff8d3eeaf01e3983b4329fa12b43e467 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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'