What are the different components of ansible?
Answer / Sunny Verma
Ansible consists of several components, including:nn1. Inventory: A list of hosts that Ansible manages, along with their attributes and variables.nn2. Playbooks: YAML files containing tasks, plays, and handlers to automate system administration.nn3. Modules: Reusable scripts that perform specific tasks such as installing packages or starting services.nn4. Ad-hoc commands: One-off Ansible commands for executing tasks on hosts.nn5. Roles: A way to organize playbooks and their related files into reusable units.nn6. Plugins: Extensions that provide additional functionality, such as callback plugins, inventory plugins, and connection plugins.
| Is This Answer Correct ? | 0 Yes | 0 No |
Compare ansible with chef.
Explain different modules in ansible.
How do I keep secret data in my playbook?
When to use {{}} ? How to interpolate variables or dynamic variable names?
Compare ansible vs puppet?
What are ad-hoc commands? Give an example.
How can I set the path or any other environment variable for a task or entire playbook?
What are ansible vaults and why are they used?
Where does the configuration file live and what can I configure in it?
Is it possible to build our modules in ansible?
Why are you attracted to science and science fiction?
How do I access a variable name programmatically?