Menu

Virtual Geek

Tales from real IT system administrators world and non-production environment

Blog posts : "Devops"

Ansible authenticate to Microsoft Azure using credential profiles Part 1

My earlier article Quickstart How to authenticate Ansible with Microsoft Azure was for basic and foundation for authentication to azure using Ansible. But I have scenarios with multiple subscriptions to automate multiple azure clouds using Ansible, in that case I will make use of multiple credentia…

Read more

Conditionally create resources in Terraform

I had scenario with Terraform to deploy resources based on the value given in variables. This is also an example of count and if condition. When you use count inside the resource block and if value is mentioned 0 that resource will not be deployed. Now I am giving the count number programmatically …

Read more

Get Started: Configure Ansible for Azure Cloud Infrastructure

This is second part of How to install and configure Ansible on Ubuntu, where I will be installing and configuring Microsoft Azure modules to use it with ansible for Microsoft Azure cloud infrastructure automation. I have python-pip3 is already installed, The next instructions is to install ansible[…

Read more

How to install and configure Ansible on Ubuntu

This is a step by step installation and configuration procedure of ansible on Ubuntu. Ansible is an open source IT automation mechanism that programs provisioning, configuration management, application deployment, orchestration, and many other IT processes. I have my Ubuntu server already setup and…

Read more

Importing already created module Infrastructure into Terraform and update state file

This is a second part of Importing existing resources into Terraform - Step by Step, in earlier article I imported resource mentioned in tf file, here in this article I will be importing existing module resources and update tfstate file. Below are the module structure of my resources in the terrafo…

Read more

Importing existing resources into Terraform - Step by Step

When working on already created existing Azure from portal or other scripting tool then managing it using terraform tool can be little bit tedious. I encountered in a situation while working on one of my client's Azure infrastructure, I needed to modify/update existing resources. Here is the view of…

Read more

Terraform for_each loop on resource example

In this article I will be using for_each loop to deploy same resources multiple time. This is a third part of earlier series of Terraform for_each loop on map example. Using the for_each loop I will deploy multiple Subnet resources inside Azure Virtual Network (VNET). Using loop I can keep my terra…

Read more

Ansible AWX Tower Github inventory integration | Github inventory source

After working on Step by Step guide to configure first Project Job Template on Ansible AWX Tower. The most crucial part was configuring Inventory. I wanted a dynamic inventory which can be modified or automatically updated easily. Although there is a dynamic inventory option available on Ansible AW…

Read more

Step by Step guide to configure first Project Job Template on Ansible AWX Tower

Although I have already written an article on this topic earlier in Getting started Ansible AWX tower for IT automation run first playbook but since there is a new version available and I installed it, while testing it I found the instructions are same but portal gui is little bit different. So I t…

Read more

Install Ansible AWX Tower on Ubuntu Linux OS

AWX is a one of the great devops and orchestration tool for deployment and configuration management. With Ansible AWX Tower you can unify and regulate your LAB Dev IT organization with a graphic dashboard, RBAC (role-based access control) , job scheduling, integrated announcements and graphical inve…

Read more

Step by Step Install Ansible on Ubuntu OS

Although I had already written a few articles on How to install Ansible on Linux for vSphere configuration and Using Ansible for Managing VMware vsphere Infrastructure, this blog relates to different OS. I switched my lab Linux OS from CentOS to Ubuntu and Here are the step by step procedure to …

Read more

Install Ansible AWX on Microsoft Windows OS

I was working on upgrading my Ansible AWX server in my lab, while upgrading/installing fresh Ansible AWX Tower server I found the step by step instructions I tried long back Install Ansible AWX Tower on Ubuntu Linux are absolutes now and no longer working as Ansible AWX team made few changes to it.…

Read more

Terraform Using one module variable in another module

While working on Azure Terraform IAC infrastructure as a code script Writing and Using Terraform modules, I wanted to pass or use variable from a module to another module, so I will have to define module data once and I can keep reusing it in another modules. Here is the screenshot of my folder hier…

Read more

Logging and Working on BitBucket using Git SSH url

This is step by step guide to configuration bitbucket with SCM GIT.exe. I wanted to clone remote BitBucket code repository from server to the local system for script code update/changes and push the changes. The first task is to grab bitbucket repository url, loggin to bitbucket and  click on the …

Read more

Ansible Error couldn't resolve module vmware.vmware_rest

After resolving error VMware ansible Error couldn't resolve module community.vmware, I faced another error while upgrading hardware version on the VMware Virtual Machines, while using ansible vmware.guest in the task. Which derived from main module/plugin vmware.vm_rest. Below is the test tem…

Read more

VMware ansible Error couldn't resolve module community.vmware

Recently while working with one of the old ansible server where I wanted to automation to get the list of VMware vCenter virtual machines list, and the ansible playbook was failing due to few prerequisite, In below script I was using community.vmware.vmware_vm_info ansible module/plugin to get th…

Read more

Reset Ansible AWX Tower admin password

While working on one of the project I came accross a Ansible AWX server where 'admin' password as missing, and I wanted to reset forgotten awx password, the steps given here will also work on RedHat Ansible Tower. In my case AWX is containerised and installed on docker, and I will run highlighted co…

Read more

Ansible AWX Tower create Manual SCM (Source Control Credential Type) project

I had a instance where I wanted to test Manual SCM (Source Control Credential Type) project on new Project on Ansible AWX tower instead of git repository. While creating a new project when choosing Manual from the Source Control Credential Type (SCM), I was receiving below error.

Getting started …

Read more

docker: Got permission denied while trying to connect to the Docker daemon socket

Ansible AWX installation error docker-compose run --rm --service-ports task awx-manage migrate --no-input

This was another error I saw while deploying Ansible AWX on ubuntu linux. 

Ansible AWX installation error Cannot have both the docker-py and docker python modules
Install Ansible AWX Tower on Ubuntu Linux

TASK [local_docker :  Run migrations in task container]
fatal: [localhost]: FAILED! …

Read more

20 blog posts

Blog Search

Page Views

11394728

Follow me on Blogarama