Ansible – Modules

Ansible Modules are pre-defined, reusable scripts, Ansible ships the default modules with the install package, and also allows the creation of custom modules.

AnsibleModules can be used with Ansible Ad-hoc commands or with Ansible-playbook.

To list all modules available with your Ansible installation run the below command,

> ansible-doc -l