From f9065c9f39cc6a2b8dd2b8964a7b304927c3a105 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Thu, 2 Jun 2016 17:13:25 +0200 Subject: [PATCH] Tag the role completion memory with always --- tasks/main.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 7dbe11f..d16f580 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -26,20 +26,22 @@ - '{{ admins }}' - '{{ jailusers|default([]) }}' - - name: "a1" + - name: "Read available variable cache files" shell: ls ~/.ansible/hostvars become: no - register: fact_files + register: variable_files failed_when: false changed_when: false ignore_errors: true + tags: always - include: more.yml - with_items: '{{ fact_files.stdout_lines|default([]) }}' + with_items: '{{ variable_files.stdout_lines|default([]) }}' loop_control: loop_var: inventory_name - name: 'Remember that this role had been run' set_fact: role_commonconnect_completed=true + tags: always when: '"commonconnect" not in excluded_roles and role_commonconnect_completed is not defined' -- GitLab