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