From bd1e98bbca50f230650176222859a50737f8ade8 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 ce05044..814ceb2 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -3,7 +3,7 @@ - name: "Common Connect Role" set_fact: role_commonconnect_started=true - tags: always + tags: 'always' - block: @@ -35,17 +35,18 @@ failed_when: false changed_when: false ignore_errors: true - tags: always + tags: 'always' - include_tasks: more.yml with_items: '{{ variable_files.stdout_lines|default([]) }}' loop_control: loop_var: inventory_name + tags: 'always' when: lookup('pipe','hostname') == inventory_hostname - name: 'Remember that this role had been run' set_fact: role_commonconnect_completed=true - tags: always + tags: 'always' when: '"commonconnect" not in excluded_roles and role_commonconnect_completed is not defined' -- GitLab