DevOps & Cloud Blog’s
Ansible installation on Amazon EC2 instance
Step1: Update your EC2 Amazon Linux Machine sudo yum update Step 2 : Use the amazon-linux-extras command to install ansible. sudo amazon-linux-extras install ansible2 Step 3 : Check Ansible Version ansible --version Installation Directory : /etc/ansible https://youtu.be/IMNbZxS617w
How to install Jenkins on Amazon Linux EC2 Machine
Step 1 : Update your EC2 instance machine sudo yum update Step 2 : Add the Jenkins repo using the following command sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo Import a key file from Jenkins-CI to enable installation from the package: sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key Step 3 […]
Ansible AWS EC2 Dynamic Inventory
Step 1:Make sure you have installed python3 and pip in your Ansible server. python3 --version If you don’t have python3, you can install it using the following command. sudo yum install python3 -y sudo yum -y install python-pip Step 2: Install the boto3 library. Ansible […]