2
0

change list task

This commit is contained in:
2024-06-08 15:06:13 +02:00
parent 20c829c2c8
commit 694dd1592c

View File

@@ -25,7 +25,7 @@
- name: Get list of rebooted servers - name: Get list of rebooted servers
set_fact: set_fact:
rebooted_servers: "{{ groups['all'] | intersect(reboot.results | selectattr('stat.exists') | map(attribute='ansible_host')) }}" rebooted_servers: "{{ ansible_play_hosts | select('in', reboot) }}"
- name: Send Teams notification - name: Send Teams notification
run_once: true run_once: true