Ansible Automation

Ansible Automation

Download
Download is available until [expire_date]
  • Version
  • Download 4
  • File Size 1.38 MB
  • File Count 1
  • Create Date March 27, 2023
  • Last Updated March 27, 2023

What is Ansible?

Ansible is simply an open-source IT engine that automates application deployment, intra service orchestration, cloud provisioning, and many other IT tools. Ansible is easy to deploy because it does not use any agents or custom security infrastructure. Ansible uses playbook to describe automation jobs, and playbook uses very simple language i.e. YAML (It’s a human-readable data serialization language & is commonly used for configuration files, but could be used in many applications where data is being stored) which is very easy for humans to understand, read and write. Hence the advantage is that even the IT infrastructure support guys can read and understand the playbook and debug if needed (YAML – It is in human readable form).

Ansible is designed for multi-tier deployment. Ansible does not manage one system at a time, it models IT infrastructure by describing all of your systems are interrelated. Ansible is completely agentless which means Ansible works by connecting your nodes through ssh (by default). But if you want another method for connection like Kerberos, Ansible gives that option to you. After connecting to your nodes, Ansible pushes small programs called “Ansible Modules”. Ansible runs those modules on your nodes and removes them when finished. Ansible manages your inventory in simple text files (These are the hosts file). Ansible uses the hosts file where one can group the hosts and can control the actions on a specific group in the playbooks.

Advantages of Ansible:

  1. Free: Ansible is an open-source tool.
  2. Very simple to set up and use: No special coding skills are necessary to use Ansible’s playbooks (more on playbooks later).
  3. Powerful: Ansible lets you model even highly complex IT workflows.
  4. Flexible: You can orchestrate the entire application environment no matter where it’s deployed. You can also customize it based on your needs.
  5. Agentless: You don’t need to install any other software or firewall ports on the client systems you want to automate. You also don’t have to set up a separate management structure.
  6. Efficient: Because you don’t need to install any extra software, there’s more room for
    application resources on your server.

What is Configuration Management?

Configuration management in terms of Ansible means that it maintains the configuration of the product performance by keeping a record and updating detailed information that describes an enterprise’s hardware and software. Such information typically includes the exact versions and updates that have been applied to installed software packages and the locations and network addresses of hardware devices. E.g., If you want to
install the new version of the WebLogic/WebSphere server on all of the machines present in your enterprise, it is not feasible for you to manually go and update every machine.

You can install WebLogic/WebSphere in one go on all of your machines with Ansible playbooks and inventory are written most simply. All you have to do is list out the IP addresses of your nodes in the inventory and write a playbook to install WebLogic/WebSphere. Run the playbook from your control machine & it will be installed on all your nodes.

Credits: Eng. Mohamed ElEmam Hussein

Email: Mohamed.ElEmam.Hussin@gmail.com

 

Spread the word:

Leave a Reply