79083/how-to-list-down-all-the-hosts-in-ansible
Hi Guys,
I am new in Ansible. I want to list down all the hosts. How can I do that?
Hi@akhtar,
You can use the option --list-hosts. It will show all the host IPs from your inventory file. You can use the below-given command.
$ ansible all --list-hosts
I hope this will help you.
Ansible by default gathers facts about machines ...READ MORE
Hey @Kiara, f you want to make my_dir available to ...READ MORE
This can work out for you: - name: ...READ MORE