Hiero-nymus
Mission Specialist
Mission Specialist
  • 574 Views

How to get ansible module info

Jump to solution

Hi everyone,

During the lab, I'm using the ansible-doc command to get details about a module or use ansible-doc --list to get all builtin module.

How to retrieve another module list like ansible.posix or so on? By example, how can I get info about ansible.posix.firewalld? yeah, because there'll be not internet access during exams

Best regards

1 Solution

Accepted Solutions
shashi01
Moderator
Moderator
  • 545 Views

Hello  @Hiero-nymus 

Due to the Non-Disclosure Agreement (NDA), I cannot divulge any details about the examination's content.

In your lab environment, using the ansible-doc command will not retrieve information on the "ansible.posix.firewalld" module because it belongs to a separate collection, namely posix. Also, ansible-doc works only for builtin modules.

I recommend that you study ansible-navigator and its subcommands more thoroughly. For more detailed information, refer to the Red Hat Ansible Automation Platform 2.0 Creator Guide, which is available at this link:

https://access.redhat.com/documentation/en-us/red_hat_ansible_automation_platform/2.0-ea/html-single...

Additionally, you can find more information at this link: https://learn.redhat.com/t5/RH294-Red-Hat-Linux-Automation/Student-Question-Can-you-search-for-patte....

View solution in original post

2 Replies
shashi01
Moderator
Moderator
  • 546 Views

Hello  @Hiero-nymus 

Due to the Non-Disclosure Agreement (NDA), I cannot divulge any details about the examination's content.

In your lab environment, using the ansible-doc command will not retrieve information on the "ansible.posix.firewalld" module because it belongs to a separate collection, namely posix. Also, ansible-doc works only for builtin modules.

I recommend that you study ansible-navigator and its subcommands more thoroughly. For more detailed information, refer to the Red Hat Ansible Automation Platform 2.0 Creator Guide, which is available at this link:

https://access.redhat.com/documentation/en-us/red_hat_ansible_automation_platform/2.0-ea/html-single...

Additionally, you can find more information at this link: https://learn.redhat.com/t5/RH294-Red-Hat-Linux-Automation/Student-Question-Can-you-search-for-patte....

Hiero-nymus
Mission Specialist
Mission Specialist
  • 443 Views

Hello @shashi01 
Thank you for your tips and links.

Join the discussion
You must log in to join this conversation.