How ansible helps in solving challenges faced by big industries?
What is Ansible?
Ansible is an open source automation platform. It is a simple automation language that can perfectly describe an IT application infrastructure in Ansible Playbooks. It is also an automation engine that runs Ansible Playbooks. Ansible can manage powerful automation tasks and can adapt to many different workflows and environments. At the same time, new users of Ansible can very quickly use it to become productive.
Ansible Is Simple: Ansible Playbooks provide human-readable automation. We doesn't need to learn any language for learning ansible, and it is written in YML format so it is easy to understand and implement .
Ansible Is Powerful: We can use Ansible to deploy applications, for configuration management, for workflow automation, and for network automation and etc.
Ansible Is Agentless: We only need to install ansible into the controller node and not in the managed node.
Ansible Is Seamless: We don't need to change code for different Systems for the same requirement.
Ansible Architecture :
There are two types of machines in the Ansible architecture: control nodes and managed hosts. Ansible is installed and run from a control node, and this machine also has copies of your Ansible project files. A control node could be an administrator's laptop. Managed hosts are listed in an inventory. Instead of writing complex scripts, we write playbook in ansible. In Ansible we connect the nodes (clients, servers, or whatever you’re configuring) on a network, and then sending a small program called an Ansible module to that node. Ansible executes these modules over SSH and removes them when finished. The only requirement for this interaction is that your Ansible control node has login access to the managed nodes. SSH keys are the most common way to provide access, but other forms of authentication are also supported. All the login information is provided in the inventory file.
Ansible helping big industries by solving there challenges are :
Configuration Management: Centralizing configuration file management and deployment is a common use case for Ansible, and it is how many power users are first introduced to the Ansible automation platform.
Application Deployment: When you define your application with Ansible, and manage the deployment with Red Hat Ansible Tower, teams can effectively manage the entire application life cycle from development to production.
Provisioning: Applications have to be deployed or installed on systems. Ansible and Red Hat Ansible Tower can help streamline the process of provisioning systems, whether you are PXE booting and kickstarting bare-metal servers or virtual machines, or creating virtual machines or cloud instances from templates. Applications have to be deployed or installed on systems.
Continuous Delivery: Creating a CI/CD pipeline requires coordination and buy-in from numerous teams. You cannot do it without a simple automation platform that everyone in your organization can use. Ansible Playbooks keep your applications properly deployed (and managed) throughout their entire life cycle.
Security and Compliance: When your security policy is defined in Ansible Playbooks, scanning and remediation of sitewide security policies can be integrated into other automated processes. Instead of being an afterthought, it is an integral part of everything that is deployed.
Orchestration: Configurations alone do not define your environment. You need to define how multiple configurations interact, and ensure the disparate pieces can be managed as a whole.
KEY POINTS FOR ANSIBLE:
- Ansible is an declarative language means we have to tell what to do.
- Python is the base language for Ansible.
- To install ansible : pip3 install ansible.
- to check ansible is installed :rpm -q ansible.
- Two types approaches Ansible use : Ad hoc command , Playbook
- Ansible is Idempotent.
Thank you );
Site Reliability Engineer II @ JP Morgan Chase. @IUDX, @IISC
3 年Well explained ??