I am new in Ansible. I want to list down all the hosts. How can I do that?
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.
Hey @Kiran, try something like this:
- name: ...READ MORE
Ansible registers module used to capture/store the ...READ MORE
You need to use the setup module to ...READ MORE
To run any playbook in the local ...READ MORE
Hey @nmentityvibes, you seem to be using ...READ MORE
Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE
It can work if you try to put ...READ MORE
When you use docker-compose down, all the ...READ MORE
Ansible role is a part of ansible-galaxy. ...READ MORE
You can find one argument in the ...READ MORE
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.