May 12, 22
Create a VMware vSphere Virtual Machine - Ansible module vmware_guest
How to automate the creation of a virtual machine guest with 1 CPU, 1 GB RAM, and 10 GB storage thin-provisioned using Ansible Playbook and vmware_guest module.
May 12, 22
Ansible troubleshooting - VMware Failed to Import PyVmomi
Let’s troubleshoot together the Ansible fatal error “Failed to import the required Python library (PyVmomi)” to find the root cause, install the required library using PIP, and successfully run our Ansible For VMware Playbook code.
May 11, 22
Configure Ansible for VMware - ansible collection community.vmware
How to configure Ansible to interact with VMware infrastructure - datacenter, cluster, host system, and virtual machine - python PyVmomi, and collection community.vmware and vmware_guest_info Hello World demo.
May 10, 22
How to Delete Only Files Inside a Directory - Ansible module find
How to automate the search and delete of the files and directories inside a directory keeping the main folder with Ansible modules find and file.
May 3, 22
Write a Variable to a File - Ansible module copy vs template
How to save the value of a variable to file using the Ansible copy vs template modules. Included the comparison and a step-by-step example.