Automation through Ansible (Demo) by RH Experts

This blog is meant to cover the session , I’ve attended on Automation using Ansible Demo (Practical Implementation) at 28th Dec 2020. This demo was delivered by Mr.Sreejith Anujan ( The Principal Instructor at Red Hat ) and Mr.Arun Eapen ( Director, APAC Service Delivery, GLS RedHat Asia Pacific ).

What is Ansible?

Ansible is an agent-less software platform that automates cloud provisioning, configuration management, application deployment, intra-service orchestration, and many other IT needs. It can configure both Unix-like systems as well as Microsoft Windows.

Why use ansible?

Ansible portrays a wide range of features that can enhance current processes, migrate applications for better optimization, and provide a single language for DevOps practices across the organization.

Centralized Infrastructure

Effortless App Deployment and Upgrades

Easy Deployment

Effective Architecture

Plain Language

Ansible Playbook

An Ansible Playbook is the core feature of Ansible and its used to tell Ansible what to execute.

A Playbook is sort of a to-do list for Ansible that contains a list of tasks.

Ansible Tower

Ansible Tower clustering replaces the traditional active/passive with an active/active configuration. It provides not only HA but scalability as well. Ansible Tower has two critical components: Tower instances running API/Scheduler and the database. RabbitMQ is used for communication between the Tower instances.

An Ansible Tower instance can be assigned to instance groups and these can be further assigned to resources (Such as: Organizations, Inventories and Job Templates ). Jobs/Tasks executed against a resource are assigned to instance group for execution.

Ansible Tower uses PostgreSQL for it’s internal database.

The options are to use a built-in database, installed via playbook during Tower installation or use external PostgreSQL database.

But the PostgreSQL database can be clustered in active/passive configuration.

The Ansible Tower dashboard provides a heads-up NOC-style display for everything going on in your Ansible environment.

Gist of the Session

  • Using automation we can reduce the amount of manual work required in a project , which makes things smoother , faster and errorless infrastructure , this is done using tools like ansible
  • automation can be used in multiple ways like cloud provisioning or orchestration or CI/CD deployment and so on
  • in order to reduce Single Point Of Failure we have to improve the scaling of our infrastructure , this is done using a Load Balancer on top of it
  • Ansible Tower: Is a hub for all of our automation tasks
  • it can solve problems like SPOF as its launched in a cluster with a single db connected to ansible tower applications
  • scaling and creation based work is easily done using AT
  • very simple UI and cli workflow , it lets us maintain security credentials and run playbooks easily
  • it can be integrated with a multitude of range of apps , like Slack and so on
  • the credentials used by AT while authenticating , if and when needed while running any job/task/pb

I would like to thank Mr. Sreejith Anujan Sir and Mr. Arun Eapen Sir for sharing their knowledge and experience with us.

Also to thank Vimal Daga Sir, Preeti Mam, and the whole LinuxWorld Informatics Pvt Ltd team for organizing such a great session on Industry Use Case on Automation Using Ansible with experienced industry experts.

Thank you for the time~!!