What is ansible role and how are they different from the playbook?
Answer / Swadesh Mishra
"An Ansible Role represents a reusable collection of tasks, files, variables, and dependencies that help to organize your Ansible playbooks. A Playbook, on the other hand, contains a series of plays (a play is a group of tasks) that are used to automate and orchestrate the configuration management process. While a role defines a set of configuration for a specific component, a playbook defines the order in which those roles will be executed for a given inventory of hosts."
| Is This Answer Correct ? | 0 Yes | 0 No |
How to keep secret data in playbook?
What is the use of ansible?
When should I use {{ }}? Also, how to interpolate variables or dynamic variable names
How is ansible different from puppet?
Write a playbook to create a backup of a file in the remote servers before copy.
How do I handle different machines needing different user accounts or ports to log in with?
What is ansible?
What is ansible role and how are they different from the playbook?
Talk about ansible architecture.
What is ci/cd?
When should you test playbooks and roles?
How do I configure a jump host to access servers that I have no direct access to?