Ansible - Print all hosts in a group

ansible localhost -i <inventory> -m debug -a "var=groups['<group_name>']"