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…
Blog posts : "ansible"
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…
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…
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.
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
Ansible AWX installation error Cannot have both the docker-py and docker python modules
Install Ansible AWX Tower on Ubuntu Linux
Above are few errors I had encounted while installing and s…
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! …
Ansible AWX installation error Cannot have both the docker-py and docker python modules
While installing Ansible AWX on Ubuntu I was receiving below error, while installing Ansible AWX it was giving below error.
TASK [local_docker : Remove AWX containers before migrating postgres so that the old postgres container does not get used] *********************************** fatal: [lo…
Install Ansible AWX Tower on Ubuntu Linux
Ansible is a software tool that offers simple but powerful automation for cross-platform operating systems and computer support. It is mainly planned for IT professionals, who use it for application deployment, updates on workstations and servers, cloud provisioning, configuration management, intra-…
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…
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…
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
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…
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 …
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 …
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…
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…
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 …
How to install Ansible on Linux for vSphere configuration
Part 2: Using Ansible for Managing VMware vsphere Infrastructure
Recently I took over a task to evaluate few DevOps configuration, automation and orchestration tools to configure VMware vSphere. There are many tools available in the market for DevOps automation. Personally I like and already…
Blog Search
Page Views
9711285
Archive
- June 2023 (1)
- May 2023 (9)
- April 2023 (4)
- March 2023 (7)
- February 2023 (1)
- January 2023 (1)
- December 2022 (10)
- November 2022 (15)
- October 2022 (15)
- September 2022 (14)
Comments
-
June 2, 2023 07:24AM
-
StingrayMay 6, 2023 12:36AM
-
StingrayMay 6, 2023 12:11AM
-
DemoncleanerApril 26, 2023 08:38PM
-
April 20, 2023 11:11PM