List all ansible hosts from inventory file for a task December 25, 2023 by Tarik Thats the solution: with_items: groups['all']