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