easy
Single Answer
0Which command will give detailed information on modules in Ansible?
Answer Options
A
man
B
cat
C
ad-hoc
D
ansible-doc
Correct Answer: D
Explanation
The command ansible-doc will give you detailed information on Ansible modules. The command is followed by the module name to give specific information on a particular module. For example, ansible-doc ios_vlan will display all of the configuration for VLANs on Cisco IOS. The man command will give Linux/Unix manual information of the command of ansible-doc, but not the individual modules. The cat command is short for concatenate; it allows you to display or create the contents of a file. Ad hoc is not a command; it is a configuration mode in which you can test commands before they are run network wide.
ansible
modules
documentation
cli