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 |
How can you connect other devices within ansible?
why don’t you ship in x format?
Give a comparison between ansible and puppet.
Suppose you’re using ansible to configure the production environment and your playbook uses an encrypted file. Encrypted files prompt the user to enter passwords. But since ansible is used for automation, can this process be automated?
How do I loop over a list of hosts in a group, inside of a template?
How do I handle different machines needing different user accounts or ports to log in with?
Is there a web interface / rest api / etc?
What are ad-hoc commands? Give an example.
What are ansible vaults?
What is ansible role and how are they different from the playbook?
Describe the working of ansible.
Is ansible an open source tool?