CentOS 7 configuration using Ansible

https://syslint.com/wp-content/uploads/2019/03/How-to-Install-and-Configure-%E2%80%98Ansible%E2%80%99-on-CentOS-7.jpg

Overview

How does Ansible work?

Purpose of this Article

Guidelines

Overview

In this tutorial, I am using a Ubuntu server to install some utilities and Jenkins server on CentOS 7 server.

Guideline

$ sudo apt-get update
$ sudo apt-add-repository ppa:ansible/ansible
$ sudo apt-get update
$ sudo apt-get install ansible -y
$ ssh-keygen -t rsa
[nodes]
NODE_1_IP_PLACEHODLER
NODE_2_IP_PLACEHOLDER
ansible -m ping all
ansible-playbook <playbook-name> -v
ssh <username>@NODE_1_IP_PLACEHOLDER

Final Thoughts

DevSecOps Engineer https://irtizaali.com/