Skip to content
Snippets Groups Projects
Commit bd1e98bb authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-playbooks/general#72 All includes are now include_tasks and they...

ansible-playbooks/general#72 All includes are now include_tasks and they always have a tag associated
parent d7d8543a
Branches
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
- name: "Common Connect Role" - name: "Common Connect Role"
set_fact: role_commonconnect_started=true set_fact: role_commonconnect_started=true
tags: always tags: 'always'
- block: - block:
...@@ -35,17 +35,18 @@ ...@@ -35,17 +35,18 @@
failed_when: false failed_when: false
changed_when: false changed_when: false
ignore_errors: true ignore_errors: true
tags: always tags: 'always'
- include_tasks: more.yml - include_tasks: more.yml
with_items: '{{ variable_files.stdout_lines|default([]) }}' with_items: '{{ variable_files.stdout_lines|default([]) }}'
loop_control: loop_control:
loop_var: inventory_name loop_var: inventory_name
tags: 'always'
when: lookup('pipe','hostname') == inventory_hostname when: lookup('pipe','hostname') == inventory_hostname
- name: 'Remember that this role had been run' - name: 'Remember that this role had been run'
set_fact: role_commonconnect_completed=true set_fact: role_commonconnect_completed=true
tags: always tags: 'always'
when: '"commonconnect" not in excluded_roles and role_commonconnect_completed is not defined' when: '"commonconnect" not in excluded_roles and role_commonconnect_completed is not defined'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment