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