Understanding Configuration Management with Ansible
What is Ansible?
Ansible is an open-source automation tool used for configuration management, application deployment, infrastructure orchestration, and task automation. It simplifies complex tasks, enforces system configurations, and helps manage multi-tier applications and cloud resources.
Task-01
Installation of Ansible on AWS EC2 (Master Node)
Installation Guide — Ansible Documentation
sudo apt-add-repository ppa:ansible/ansible
sudo apt update
sudo apt install ansible -y
ansible --version
Task-02
Read more about Hosts file
Getting started with Ansible — Ansible Documentation
sudo nano /etc/ansible/hosts
ansible-inventory --list -y
Task-03
Setup 2 more EC2 instances with the same Private keys as the previous instance (Node)
Copy the private key to the master server where Ansible is setup
Try a ping command using ansible to the Nodes.
ansible servers -m ping
Happy Learning : )
Day 55 task is complete!
90DaysOfDevOps Tasks👇