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