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.
More on Fundamentals and Architecture
What is Ansible and what problem does it solve?BeginnerWhat does "agentless" mean in Ansible?BeginnerWhat are the requirements for the control node?BeginnerWhat does a managed node need?BeginnerIs Ansible push-based or pull-based?BeginnerWalk through what happens when you run `ansible-playbook site.yml`.Intermediate