What are the ansible modules? Explain the different types.
Answer Posted / Shivam Nanda
Ansible Modules are pre-built, reusable tasks that perform specific functions within an Ansible playbook. They can be divided into several types such as: Control Modules (like ping and debug), Core Modules (for managing system packages, users, files, etc.), Application Modules (for managing software applications like Apache, MySQL, etc.) and Custom Modules (modules created by the user for specific tasks).
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How does ansible work?
How to create encrypted files using ansible?
What are ad-hoc commands? Give an example.
Can you copy files recursively onto a target host? If yes, how?
Is it unsafe to bulk-set task arguments from a variable?
What is ansible role and how are they different from the playbook?
Compare ansible vs puppet?
How can you create a lamp stack and deploy a webpage by using ansible?
How do I see all the inventory vars defined for my host?
What is ansible?
How can one interpolate variables or dynamic variable names?
Write a playbook to create a backup of a file in the remote servers before copy.
What is the difference between a variable name and an environment variable?
What is ci/cd?
How can I set the path or any other environment variable for a task or entire playbook?