Menu

Virtual Geek

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

Blog posts : "Devops"

Ansible get information from esxi advanced settings nested dictionary with unique keynames

After my earlier post ansible create an array with set_fact, I wanted to grab some selected information from VMware ESXi Advanced setting. but the problem was when I use ansible module vmware_host_config_info, information generated here was in below json format. (Note:  There are tons of advanced…

Read more

ansible create an array with set_fact

In one of my vSphere Ansible automation task, I was looking for to create a new array variable using set_fact. here I have achieved the same task using 2 different playbook with small way procedure. In the both methods on the vars I have defined infra variable where I have defined my VMware esxi s…

Read more

Resolved: Git warning LF will be replaced by CRLF in file

While using git add command I was receiving below error.

warning: LF will be replaced by CRLF in ansible.cfg.
The file will have its original line endings in your working directory

In Unix systems the end of a line is represented with a line feed (LF). In windows a line is represented with a …

Read more

Ansible selectattr The error was TemplateRuntimeError no test named 'equalto'

I was working on small Ansible playbook project and wrote a msg to filter nested yaml dictionary as below, in the script is was using selectattr() function to list only selected filtered attribute property information.

Getting started Ansible AWX tower for IT automation run first playbook

Read more

Ansible for VMwary Using vmware_vm_inventory dynamic inventory plugin

Since I started using Ansible for VMware management, Daily I am exploring new thing on vSphere Ansible, and stumbled upon interesting dynamic inventory plugin named vmware_vm_inventory from url https://docs.ansible.com/ansible/latest/plugins/inventory/vmware_vm_inventory.html (for more about pa…

Read more

Remote: Permission to UserName/repo.git denied to OtherUserName fatal: unable to access 'https://github.com/UserName/repo.git/': The requested URL returned error: 403

I was working on the one of the clients project hosted on github.com, I cloned the repo locally added few files to local repo and staged/committed project locally all was good.

git add .
git commit -m 'test'

But when tried to push the changes on remote repo on github.com. I was receiving …

Read more

Getting started Ansible AWX tower for IT automation run first playbook

In this article I will show how to use and run basic playbook with Ansible AWX tower portal. Ansible Tower is a Red Hat product it helps you to centralize and control your IT infrastructure with a visual dashboard, role-based access control, job scheduling, integrated notifications and graphical …

Read more

Using Ansible for Managing VMware vSphere Infrastructure

On this second part article of after How to install Ansible on Linux for vSphere configuration, I have written here 2 Ansible playbook files (play tasks created) to configure VMWare ESXi servers. Language for the ansible playbook files is YAML/YML format. When using Ansible to use on VMware vSph…

Read more

Part 3 Git clone version control integration in Visual Studio Code

Part 2 Git master branch source control integration in Visual Studio Code

Part 1 Git version control integration in Visual Studio Code

VS code remote ssh could not establish to host, connecting was canceled

This article is based on one of the issues I was facing while configuring VSCode Remote - SSH. 

Earlier Parts
How to Setup Passwordless SSH Login on Windows
configure remote ssh extension on visual studio code

Here I configured second linux host in ssh config file. This one is not passwor…

Read more

configure remote ssh extension on visual studio code

In my earlier article I wrote How to Setup Passwordless SSH Login on Windows to ease my tasks, to connection between Windows to Linux and this is a second part of the article. I use visual studio code to write my all devops codes, most of the time whenever I want to test the script on linux, free t…

Read more

How to Setup Passwordless SSH Login on Windows

Since I upgraded my laptop to Windows 10, I started using inbuilt tool SSH.exe to connect openssh servers (linux) instead of external tools like putty.exe. Here whenever I want to connect to linux through ssh, it prompts for password each time for new login. To make linux passwordless connection ov…

Read more

Docker Error response from daemon i\o timeout internet proxy

In this article after installing docker (How to install Docker on Linux) and configuring its service (Cannot connect to the Docker daemon at unix:var run docker.sock. Is the docker daemon running) next step is to download docker containers from docker hub (internet) for testing purpose.

My dock…

Read more

Cannot connect to the Docker daemon at unix:var run docker.sock. Is the docker daemon running

After writing article How to install Docker on Linux I tested it with command docker version, everything was good but no docker engine related information was there and on  the last line I saw error Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?,…

Read more

How to install Docker on Linux

Docker is a tool designed to make it easier to create, deploy, and run applications by using containers. Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other dependencies, and ship it all out as one package. This is step by step guide …

Read more

17 Blog Posts

Blog Search

Page Views

3647742

Follow me on Blogarama