How to setup Ansible on Red Hat Linux VM?
Ansible is #1 configuration management tool. It can also be used for infrastructure provisioning as well. or You can use Ansible in combination of Terraform which can take care of infra automation and Ansible can do configuration management. We will be setting up Ansible on Red Hat VM in Azure cloud And create some resources in AWS Cloud by using Ansible playbooks.
- Create new Red Hat EC2 in AWS Cloud for setting up Ansible, just open port 22 in firewall rule.
sudo hostnamectl set-hostname AnsibleMgmtNode
sudo yum update -y






