Explain different modules in ansible.
Answer / Deepanshu Sharma
Ansible modules are reusable, standalone scripts that perform a specific task. They can be used individually or combined together to create playbooks. Here are some common Ansible modules:n1. User Module: Manages system users and groups.n2. File Module: Manages files on the target host.n3. Package Module: Installs, updates, or removes packages based on the package manager of the target host.n4. Service Module: Manages services/daemons on Unix-based systems.n5. Yum Module: Specific for RedHat-based systems to manage packages.n6. Apt Module: Specific for Debian-based systems to manage packages.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are ansible server requirements?
Explain in detail about ad-hoc command?
How do I see all the inventory vars defined for my host?
How do I handle different machines needing different user accounts or ports to log in with?
Talk about ansible architecture.
What is the use of ansible vaults?
How to keep secret data in a playbook?
How can you connect other devices within ansible?
What features does the ansible tower provide?
What are ansible vaults and why are they used?
How should one configure a jump host to access servers that I have no direct access to?
How does configuration management is help an organization?