About this question
There is a scenario where I am using Ansible for the process of deployment. In this how can I structure a task dynamically for listing all the hosts in a particular group called inventory? What factors can influence my choice of hosts for a specific playbook implementation?