diff --git a/tasks/main.yml b/tasks/main.yml index 7dbe11f2478fd1652e47327615e9952daaaf72e6..d16f580ecf7d0e41c9f967db23e139468e013511 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'