Interview Prep/Ansible/Fundamentals and Architecture

How do you find documentation for a module without leaving the terminal?

BeginnerConceptFundamentals and Architecture
Answer
ansible-doc ansible.builtin.copy         # full docs and examples
ansible-doc -s ansible.builtin.copy      # short snippet of parameters
ansible-doc -l | grep -i ec2             # list modules matching a name
ansible-doc -t lookup -l                 # list plugins of another type

The docs match the version you have installed, which is more reliable than a web page for a different release.

All Ansible questions Roadmap: Ansible

More on Fundamentals and Architecture