Ansible Interview Questions and Answers

Ansible Interview Questions and Answers

Ansible is a free-software platform for configuring and managing computers, combines multi-node software deployment, ad hoc task execution, configuration management, provisioning, Security and Compliance. It manages nodes over SSH or over PowerShell. Modules work over JSON and standard output and can be written in any programming language. The system uses YAML to express reusable descriptions of systems. It aims to provide large productivity gains to a wide variety of automation challenges. Unlike Puppet or Chef, it doesn’t use an agent on the remote host. Instead Ansible uses SSH which is assumed to be installed on all the systems you want to manage. Also, it’s written in Python which needs to be installed on the remote host. This means that you don’t have to setup a client server environment before using Ansible, you can just run it from any of your machines and from the client’s point of view there is no knowledge of any Ansible server (you can run Puppet in standalone mode, but Puppet still needs to be installed). There are some other requirements though, for example if you want to do something related to git on a remote machine a git package must first be installed on the remote machine.

Ansible is available for free and runs on Linux, Mac or BSD. Aside from the free offering, Ansible also has an enterprise product called Ansible Tower. Ansible tool is very simple to use yet powerful enough to automate complex multi-tier IT application environments.

Michael DeHaan, the author of the provisioning server application Cobbler and co-author of the Func framework for remote administration, developed the platform. Ansible, Inc. (originally AnsibleWorks, Inc.) was the company set up to commercially support and sponsor Ansible. Red Hat acquired Ansible in October 2015. Current version is Ansible v2.4.3.0-0.5.rc2 /January 18, 2018.

What is ansible?

Which language Ansible is written in?

What Ansible can do?

How Ansible Works?

What are the advantages of Ansible?

What is Ansible Playbooks?

Do we have any Web Interface/ Rest API etc for this?

What is Ansible Tower?

What is Ad-hoc commands in Ansiable?

How to write an Ansible ad-hoc command?

How do I submit a change to the documentation in Ansible?

How do you access Shell Environment Variables?

How do I copy files recursively onto a target host in Ansible?

How do I disable cowsay in Ansible?

How do I generate crypted passwords for the user module in Ansible?

How do i see all the inventory vars defined for my host?

What is the best way to make content reusable/redistributable?

How can you speed up management inside in EC2?

What is ask_sudo_pass in Ansible?

What is ask_vault_pass in Ansible?

Follow us on Social Media

Related Posts

No Comments

Post a Reply