January 4, 2021
Estimated Post Reading Time ~

Ansible on Ubuntu 16.04 LTS using Virtualenv


Installation Guide:
  1. Creating an instance on GCP – Compute Engine
  2. SSH access to the Cloud Machine
  3. Installing pre-requisites and dependencies
  4. creating a virtual environment
  5. using PIP, install Ansible Control Host
Section-1: Creating VM on GCP – Compute Engine
Step-01: Create a standalone VM instance on the 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 software have been installed



Step-02: Installing Virtualenv


Section-04: Create Virtualenv and Activate
Step-01: Create an isolated virtual environment



Step-02: Activate virtualenv


Step-03: check if the required software are available




Section-05: Install Ansible
Step-01: Installing Ansible in a virtual environment

[code lang=bash]

$ pip install ansible

[/code]


Step-02: Check Ansible installation


Step-03: Validating and verifying Ansible installation



By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.