How to see any module details in Ansible from the command line

0 votes

Hi Guys,

I have configured Ansible in my system. But I don't have much knowledge in modules. Can anyone tell me how can I check module details in Ansible?

Aug 11, 2020 in Ansible by akhtar
• 38,260 points
23,752 views

1 answer to this question.

0 votes

Hi@akhtar,

Ansible has a very attractive command named ansible-doc. This command will tell all the module details installed in your system. For example if you want to see the details of the service module, then the command should be as follows.

$ ansible-doc service
answered Aug 11, 2020 by MD
• 95,460 points

Related Questions In Ansible

0 votes
1 answer

How to replace a line using lineinfile module in Ansible?

Hi@MD, You can use lineinfile module in Ansible. ...READ MORE

answered Sep 2, 2020 in Ansible by akhtar
• 38,260 points
2,851 views
0 votes
2 answers

How do you stop Ansible from creating .retry files in the home directory?

[defaults] ... retry_files_enabled = True # Create them ...READ MORE

answered Apr 5, 2019 in Ansible by anonymous
3,246 views
0 votes
1 answer

How do I wget a file from web server using shell in the ansible playbook

Hey Ayaan, you could probably use this ...READ MORE

answered Jan 24, 2019 in Ansible by Anushri
4,155 views
0 votes
1 answer

Can Ansible modules be used from the command line?

Yes @Donna, you can execute a module ...READ MORE

answered Feb 11, 2019 in Ansible by Tariq
1,067 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,035 views
+2 votes
1 answer
0 votes
1 answer

How to find the memory of remote systems using the setup module in Ansible?

Hi@akhtar, You need to use the setup module to ...READ MORE

answered Aug 10, 2020 in Ansible by MD
• 95,460 points
5,881 views
0 votes
1 answer

How to login to Ansible Galaxy from command line?

Hi@akhtar, To login to Ansible Galaxy, you need ...READ MORE

answered Aug 28, 2020 in Ansible by MD
• 95,460 points
2,212 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP