From c2d36d0e4e5de261a8e9aab23474af57f956da81 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Thu, 9 Nov 2017 15:02:47 +0100 Subject: [PATCH] ansible-playbooks/general#72 Go back to includes for main.yml files --- tasks/main.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index a92be6e..261ce21 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' -- GitLab