Menu

Virtual Geek

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

Blog posts March 2020

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

4 blog posts

Blog Search

Page Views

12146659

Follow me on Blogarama