diff --git a/tasks/main.yml b/tasks/main.yml index ce050443a1fa7cb6bdf71f2c5dcfe001c464c163..814ceb2d49385e3912d992790ebf127685f8f032 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'