add_host format adjustments

This commit is contained in:
Mike Holloway 2024-09-17 19:36:55 -04:00
parent 4e06a3653e
commit 346283e913

View File

@ -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