What are the different components of ansible? Explain ansible architecture.
Answer / Kanika Cairae
Ansible consists of several key components: n1. Playbook: A collection of tasks that Ansible executes on managed nodes.n2. Inventory: A file or directory containing host, group, and variable definitions for managed nodes.n3. Modules: Reusable pieces of code (written in Python) that perform specific tasks during play execution.n4. Handlers: Tasks that can be triggered by other tasks when they have completed.n5. Plugins: Customizable extensions for Ansible's core functionality, such as connection types and lookup plugins.n6. Extra roles: Pre-built collections of related Ansible content (tasks, templates, etc.) organized as reusable units.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the variables in ansible?
What is the use of ansible vaults?
How do I configure a jump host to access servers that I have no direct access to?
How does configuration management is help an organization?
Explain what are playbooks in ansible? Explain with some examples.
How can looping be done over a list of hosts in a group, inside of a template?
How does ansible work?
What is the difference between a variable name and an environment variable?
How do I keep secret data in my playbook?
How can one generate encrypted passwords for the user module?
Explain in detail about ad-hoc command?
Explain the callback plugin in ansible?