mirror of
https://gitea.0xace.cc/ansible-galaxy/hosts.git
synced 2024-11-24 23:06:39 +00:00
use ansible_play_hosts_all
This commit is contained in:
parent
991298bb11
commit
4217379caf
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user