What are the different components of ansible? Explain ansible architecture.
Answer Posted / 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 |
Post New Answer View All Answers
How is ansible different from puppet?
How do I see a list of all of the ansible_ variables?
Why is ‘{{ }}’ notation used? And how can one interpolate variables or dynamic variable names?
What features does the ansible tower provide?
How do I set the path or any other environment variable for a task?
What is ansible role and how are they different from the playbook?
How to install ansible?
Does ansible support aws?
Why are you attracted to science and science fiction?
How do I handle python pathing not having a python 2.x in /usr/bin/python on a remote machine?
What are ad-hoc commands? Give an example.
How do I speed up management inside ec2?
When should I use {{ }}?
Is there a web interface / rest api / etc?
How do I access a variable name programmatically?