--- - hosts: "{{ ansible_limit | default('none') }}" become: yes become_user: root tasks: - debug: msg="{{ target_hosts }}" # - add_host: # groups: run_target_hosts # hostname: "{{ item }}" # loop: "{{ target_hosts }}" - hosts: run_target_hosts gather_facts: true roles: - podman-host