An Ansible module is a discrete unit of code that a playbook invokes to perform one specific management task. Modules function as plugins or components of Ansible, while a task is the playbook operation that invokes them. section 25.2.1 section 25.3
Place modules within the Ansible operating model:
- A playbook defines tasks and procedures. section 25.2.1
- Each task represents one operation and can use a module to perform it. section 25.2.1
- The control node uses SSH to push configuration to managed devices; those devices need no additional Ansible software. section 25.2.1
Figure 25.5 Basic Ansible operations. Inventory, template, and variable files define configurations, and playbooks define actions. The control node uses SSH to connect and push configurations to managed devices.
Relates modules and tasks to playbooks, configuration files, the control node, SSH, and managed devices. section 25.2.1
