Ansible on Ubuntu 16.04 LTS using Virtualenv

Disclaimer:
This is just a custom guide to install and configure Ansible on UBUNTU 16.04 LTS, this could be more technical and advanced guide, if you do not understand or don’t know what you are doing, I kindly request you to take extreme caution. The components used here [Google Cloud Platform] are billable. SKYDEVOPS/I/WE do not take any responsibility if the guide causes any serious damage or issues, which you have to take full responsibility.
Installation Guide:
- Creating a instance on GCP – Compute Engine
- SSH access to the Cloud Machine
- Installing pre-requisites and dependencies
- creating virtual environment
- using PIP, install Ansible Control Host
Section-1: Creating VM on GCP – Compute Engine
Step-01: Create a standalone VM instance on compute engine
Step-02: Enter the name, select Zone and type of machine
Step-03: Select the boot disk
Step-04: Add firewall rules and start VM
Section-2: SSH access and login to Ansible Control Host VM
Step-01: Login to VM
Step-02: Update the cache and install Pre-Requisites
Section-03: Pre-Requisites Installation
Step-01: Check if required softwares have been installed
Step-02: Installing Virtualenv
Section-04: Create Virtualenv and Activate
Step-01: Create a isolated virtual environment
Step-02: Activate virtualenv
Step-03: check if required softwares are available
Section-05: Install Ansible
Step-01: Installing Ansible in virtual environment
$ pip install ansible
Step-02: Check Ansible installation
Step-03: Validating and verifying Ansible installation
Categories