Chapter 1: Ansible For Beginners With Examples
Chapter Goal: Description of the Ansible Technology and how to write and execute your first Ansible Playbook code.
No of pages: 5 0
Sub - Topics
- What is Ansible
Getting Started - Inventory
- Playbook
- Variables, Fact and Magic Variables
- Vault
- Conditional and Loop
Handler - Role
- Ansible Best Practices
Chapter 2: Install Ansible
Chapter Goal: How to install Ansible in the most common Operating System step by step
No of pages : 20
Sub - Topics:
- ansible community vs ansible-core packages
- Ansible installation in RedHat Enterprise Linux (RHEL) 8
- Ansible installation in Ubuntu 22.04 LTS
- Ansible installation in Fedora 36
Ansible installation in CentOS 9 Stream Ansible installation in Windows Ansible installation in SUSE SLES (Linux Enterprise Server) 15 Ansible installation with PIP
Ansible installation in RedHat Enterprise Linux (RHEL) 9
- Ansible installation in Amazon Linux 2 (AWS EC2)
- Ansible installation in Debian 11
Chapter 3: Ansible For VMware
Chapter Goal: How to automate your VMware infrastructure using Ansible code and troubleshoot the most common error messages
No of pages: 70
Sub - Topics:
- Configure Ansible For VMware
Configure a Python Virtual Environment for Ansible VMware
Ansible troubleshooting - VMware f ailed to Import PyVmomi - Ansible troubleshooting - VMware Unknown error while connecting to vCenter or ESXi
- Ansible troubleshooting - VMware certificate verify failed connecting to vCenter or ESXi
- Create a VMware virtual machine
- Deploy a VMware virtual machine from a template
- Start a VMware virtual machine
Stop a VMware virtual machine Take a VMware virtual machine snapshot Delete a VMware virtual machine snapshot Add a new hard disk to VMware virtual machine - Expand a virtual disk in VMware virtual machine
- Gather VMware Hosts information of a cluster
- Get VMware virtual machine UUID
- Ansible Dynamic Inventory For VMware
- Get VMware vSphere Virtual Machine Running Host
- Get VMware datastore status
- Upload a file to the VMware datastore
- Get VMware Guest Tools status
- Upgrade VMware Guest Tools
- Live Migration of a VMware Virtual Machine using vMotion
- Change the boot devices order of a VMware virtual machine
Chapter 4: Conclusion