From c49a01802ff837796cf0e03b25c0e6128b1fc16f Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Wed, 8 Nov 2017 12:02:46 +0100 Subject: [PATCH] ansible-playbooks/general#72 All includes are now include_tasks and they always have a tag associated --- tasks/main.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 720fcce..0262de8 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -3,14 +3,15 @@ - name: "Common WkHtmlToPDF" set_fact: role_wkhtmltopdf_started=true - tags: always + tags: 'always' - block: - - import_tasks: install.yml + - include_tasks: install.yml + tags: 'always' - name: 'Remember that this role had been run' set_fact: role_wkhtmltopdf_completed=true - tags: always + tags: 'always' when: '"wkhtmltopdf" not in excluded_roles and role_wkhtmltopdf_completed is not defined' -- GitLab