add_host format adjustments
This commit is contained in:
parent
4e06a3653e
commit
346283e913
@ -5,10 +5,10 @@
|
|||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- debug: msg="{{ target_hosts }}"
|
- debug: msg="{{ target_hosts }}"
|
||||||
- add_host:
|
# - add_host:
|
||||||
groups: run_target_hosts
|
# groups: run_target_hosts
|
||||||
hostname: "{{ item }}"
|
# hostname: "{{ item }}"
|
||||||
loop: "{{ target_hosts }}"
|
# loop: "{{ target_hosts }}"
|
||||||
|
|
||||||
- hosts: run_target_hosts
|
- hosts: run_target_hosts
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
|
Loading…
Reference in New Issue
Block a user