How ansible works?
Answer / Rajani Patwa
Ansible works by using a collection of playbooks, which are scripts that define tasks to be executed on target hosts. Ansible connects to the hosts via SSH and uses a push-based approach, where the desired state is defined in the playbook, and Ansible ensures that the target host converges to that state.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to keep secret data in a playbook?
What is configuration management and how does it help an organization?
Describe the working of ansible.
Where does the configuration file live and what can I configure in it?
Is there a web interface / rest api / etc?
Does ansible support hardware provisioning?
How do I access shell environment variables?
Can you copy files recursively onto a target host? If yes, how?
How is ansible different from puppet?
Compare ansible with chef.
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 handle python pathing not having a python 2.x in /usr/bin/python on a remote machine?