mirror of
https://gitea.0xace.cc/ansible-galaxy/hosts.git
synced 2025-06-28 21:13:07 +00:00
use ansible_play_hosts_all
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
when:
|
||||
- hostvars[item].ansible_host is defined
|
||||
- pin_hosts
|
||||
with_items: "{{ groups.all }}"
|
||||
with_items: "{{ ansible_play_hosts_all }}"
|
||||
tags:
|
||||
- hosts
|
||||
|
||||
|
Reference in New Issue
Block a user