Ansible for VMware by Examples

Ansible for VMware by Examples #

A Step-by-Step Guide to Automating Your VMware Infrastructure #

Buy on Apress Buy on Amazon
  • Learn to connect your hosts to Ansible (Inventory)

  • Review how to execute commands with Ansible (Playbook) on target nodes

  • All codes are tested on 2022 against the most modern releases of Ansible and VMware

About this book #

Learn to use the Ansible open source IT automation tool to automate your VMware infrastructure. This book contains all of the obvious and not-so-obvious best practices of Ansible automation. Each lesson summarizes a specific use case for the modern VMware infrastructure and is focused on a single module from the most important parameter, including live demo of code and real-life usage.

You’ll configure the Ansible Controller to interact with VMware infrastructure using the “community.VMware” Ansible documentation collection and the appropriate Python libraries. Next, learn how to automate the creation of a virtual machine manually and from a template, start and stop using the shutdown and forced-power off a Virtual Machine, take and delete and snapshot, add a new hard disk and expand a currently attached hard disk, as well as gather information for data centers, clusters, host systems, and virtual machines.

By the end of this book, you’ll be well-versed in efficiently maintaining a VMware infrastructure with Ansible Automation. You’ll also be able to save time and reduce manual errors using simple human-readable automation technology.

Buy on Apress Buy on Amazon

What You’ll Learn #

Cover of the Ansible for VMware by Examples book

  • Automate your VMware infrastructure using Ansible code
  • Install Ansible in operating systems such as RedHat, Ubuntu, Fedora, etc.
  • Write and execute your first Ansible Playbook code
  • Troubleshoot the most common error messages

code in Github

Who This Book Is For #

IT professionals of every industry who would like a jargon-free understanding of Ansible technology, including VMware, Linux, and Windows Systems Administrators, DevOps professionals, thought leaders, and infrastructure-as-code enthusiasts.

About the author #

Luca Berton is an Ansible Automation Expert who has been working with JPMorgan Chase & Co., previously has worked with the Red Hat Hat Ansible Engineer Team for three years. Creator of the Ansible Pilot project. With more than 15 years of experience as a System Administrator, he has strong expertise in Infrastructure Hardening and Automation. Enthusiast of the Open Source supports the community sharing his knowledge in different events of public access. Geek by nature, Linux by choice, Fedora of course.

Code Samples #

Browse this book’s GitHub repository: Ansible for VMware by Examples

Feedback #

Bibliographic Information #

Book Title: Ansible for VMware by Examples

Book Subtitle: A Step-by-Step Guide to Automating Your VMware Infrastructure

Authors: Luca Berton


Publisher: Apress Berkeley, CA

eBook Packages: Professional and Applied Computing, Professional and Applied Computing (R0), Apress Access Books

Copyright Information: Luca Berton 2023

Softcover ISBN: 978-1-4842-8878-8 Published: 03 December 2022

eBook ISBN: 978-1-4842-8879-5 Published: 02 December 2022

Edition Number: 1

Number of Pages: XXIV, 183

Number of Illustrations: 30 b/w illustrations

Topics: Cloud Computing, Computer Engineering and Networks, Computer Science

Buy on Apress Buy on Amazon