Hope you all are well in this pandemic situation. This blog is regarding the Demo Session I attended over the Topic Automation using Ansible. Complete Session which I attended on 28th December 2020. This Session involves solving general queries regarding the tool Ansible and some technique terms, I also, fortunately, got the chance to see the practical over the Ansible Tower from industry experts and to see and learn what real use cases industries are solving with that particular technology.
The session was with two of the best experts from the industry Mr. Sreejith Anujan & Mr. Arun Eapen.
“ Mr. Sreejith Anujan”, The Principal Instructor at Red Hat. He is primarily responsible for empowering Red Hat customers with tailor-made enablement services. Also heading the designing and delivering high-quality content on integrated solutions and trusted partners across APAC, ANZ, and APJ. He Connected with RedHat for around 12+ years and he was a Speaker in DevConf.in 2018.
“Mr. Arun Eapen”, Director, APAC Service Delivery, GLS RedHat the Asia Pacific He is a Specialist in Linux and Security. He is the first RHC*(RHCA, RHCSS, RHCDS, RHCVA) in India also the founding member of the Free Software Foundation India. He is in open source software for more than 24 years.
The session was all about Ansible and Ansible Tower. As we all know automation is one of the most important parts of today’s for any organization, all of them want to be fast and Ansible is a tool that is meant to be fast because it is simple, powerful, and can be integrated with almost any technology.
Ansible Tower: → Ansible Tower (formerly ‘AWX’) is a web-based solution that makes Ansible even easier to use for IT teams of all kinds. It’s designed to be the hub for all of your automation tasks.
Tower allows you to control access to who can access what, even allowing sharing of SSH credentials without someone being able to transfer those credentials. Inventory can be graphically managed or synced with a wide variety of cloud sources. It logs all of your jobs, integrates well with LDAP, and has an amazing browsable REST API. Command-line tools are available for easy integration with Jenkins as well. Provisioning callbacks provide great support for autoscaling topologies.
Within Ansible Tower, the playbook runs stream by in real-time. As Ansible automates across your infrastructure, you’ll see plays and tasks complete, broken down by each machine, and each success or failure, complete with output. Easily see the status of your automation, and what’s next in the queue.
Other types of jobs, such as source control updates or cloud inventory refreshes, appear in the common job view. Know what Ansible Tower is up to at any time.
Ansible Tower Workflows allow you to easily model complex processes with Ansible Tower’s intuitive workflow editor. Ansible Tower workflows chain any number of playbooks, updates, and other workflows, regardless of whether they use different inventories, run as different users, run at once or utilize different credentials.
You can build a provisioning workflow that provisions machines, applies a base system configuration, and deploys an application, all with different playbooks maintained by different teams. You can build a CI/CD testing workflow that builds an application, deploys it to a test environment, runs tests, and automatically promotes the application based on test results. Set up different playbooks to run in case of success or failure of a prior workflow playbook.
With Ansible Tower, all automation activity is securely logged. Who ran it, how they customized it, what it did, where it happened — all securely stored and viewable later, or exported through Ansible Tower’s API.
Activity streams extend this by showing a complete audit trail of all changes made to Ansible Tower itself — job creation, inventory changes, credential storage, all securely tracked.
All audit and log information can be sent to your external logging and analytics provider to perform analysis of automation and event correlation across your entire environment.
Here are the major Terminologies discussed in the session:
→ Automation is the creation and application of technologies to produce and deliver goods and services with minimal human intervention. The implementation of automation technologies, techniques, and processes improves the efficiency, reliability, and/or speed of many tasks that were previously performed by humans.
→ Ansible orchestration allows you to create and automate a playbook for orchestration. Then you can use the playbooks to deploy your Ansible orchestration. Keep reading to learn more. Real-world app-deployment stacks involve lots of different classes of systems and environments, all working in concert.
→ Orchestration in DevOps for a cloud-based deployment pipeline allows the enterprise to combine development, QA, and production. … The end result is that specific code handled by a DevOps release orchestration process is rendered in a consistent and repeatable manner for each environment.
→ Scaling In Automation, An automation system can be considered administratively scalable when it is capable of executing the same, one-time-defined automation process on different endpoints within segregated environments. The solution must be able to: Add an organization and its users and systems seamlessly from any segregated network source.
Scalability is the measure of a system’s ability to increase or decrease in performance and cost in response to changes in application and system processing demands. Examples would include how well a hardware system performs when the number of users is increased, how well a database withstands growing numbers of queries, or how well an operating system performs on different classes of hardware. Enterprises that are growing rapidly should pay special attention to scalability when evaluating hardware and software.
→ Job Template: → A job template is a definition and set of parameters for running an Ansible job. Job templates are useful to execute the same job many times. … While the REST API allows for the execution of jobs directly, Tower requires that you first create a job template.
I would like to thanks Mr. Sreejith Anujan Sir and Mr. Arun Eapen Sir for sharing their knowledge and experience with us and would like to attend more such sessions for them. 😊
And also would like to thanks specially Vimal Daga Sir, Preeti Mam, and the LinuxWorld Informatics Pvt Ltd Team for organizing such a great session on Industry Use Case on Automation Using Ansible with such experienced industry experts.🤗