blob: 362dc78948dca0c030da1d9758af6131fb93a5c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
---
- name: Get info
delegate_to: localhost
register: collected_info
ansible.builtin.debug:
msg: test
- name: Do something
delegate_to: localhost
loop: "{{ collected_info['some_list'] }}"
loop_control:
label: "{{ item.name }}"
notify:
- Debug
register: _something_done
ansible.builtin.debug:
msg: test2
|