Talk about ansible architecture.
Answer / Devesh Sharma
Ansible's architecture consists of the following key components:
1. Playbook: The primary configuration file that describes a series of tasks to be executed on one or more target hosts. It defines the desired state, infrastructure changes, and application deployments.
2. Inventory: A list of inventory hosts and their attributes, which determines which machines are managed by Ansible and provides context-specific information about each host.
3. Modules: Task units that perform specific actions on target hosts, such as copying files, running commands, handling packages, or configuring services.
4. Plugins: Additional features provided by Ansible, including connection plugins for managing remote connections, lookup plugins for accessing data sources, and filter plugins for manipulating data within playbooks.
5. Control Machine: The machine running the ansible-playbook command, which sends commands to target hosts, collects their results, and logs the entire process.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain the concept behind infrastructure as code (iac).
What are ansible vaults?
Is ansible is an open source tool?
How do I submit a change to the documentation?
What is ansible galaxy?
How to install ansible?
How to create encrypted files using ansible?
How do I see all the inventory vars defined for my host?
Why is ‘{{ }}’ notation used? And how can one interpolate variables or dynamic variable names?
How do I get ansible to reuse connections, enable kerberized ssh, or have ansible pay attention to my local ssh config file?
Is ansible an open source tool?
Explain callback_plugin in ansible?