MCPcopy Index your code
hub / github.com/PacktPublishing/Ansible-for-Real-life-Automation

github.com/PacktPublishing/Ansible-for-Real-life-Automation @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
23,358 symbols 100,835 edges 2,642 files 4,927 documented · 21% updated 2mo ago★ 75
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Ansible for Real-Life Automation

Ansible for Real-Life Automation

This is the code repository for Ansible for Real-Life Automation, published by Packt.

A complete Ansible handbook filled with practical IT automation use cases

What is this book about?

Get ready to leverage the power of Ansible’s wide applicability to automate and manage IT infrastructure with Ansible for Real-Life Automation. This book will guide you in setting up and managing the free and open source automation tool and remote-managed nodes in the production and dev/staging environments.

This book covers the following exciting features: * Explore real-life IT automation use cases and employ Ansible for automation' * Develop playbooks with best practices for production environments * Approach different automation use cases with the most suitable methods * Use Ansible for infrastructure management and automate VMWare, AWS, and GCP * Integrate Ansible with Terraform, Jenkins, OpenShift, and Kubernetes * Manage container platforms such as Kubernetes and OpenShift with Ansible * Get to know the Red Hat Ansible Automation Platform and its capabilities

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter11.

The code will look like the following:

[ansible@ansible Chapter-11]$ export KUBECONFIG=$KUBECONFIG:/
home/ansible/.kube/minikube-config

Following is what you need for this book: This book is for DevOps and systems engineers looking to adopt Ansible as their automation tool. To get started with this book, basic knowledge of Linux is necessary, along with an understanding of how tasks are done the manual way before setting out to automate them.

With the following software and hardware list you can run all code files present in the book (Chapter 1-16).

Software and Hardware List

Chapter Software required OS required
1-15 Ansible 2.9 Red Hat Enterprise Linux 8 (RHEL8)
1-15 ansible-core 2.11 later Microsoft Windows 2019 (for Windows use case)
1-15 Red Hat Ansible Automation Platform 2.1 VyOS (for the network automation use case)

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Related products

Get to Know the Author

Gineesh Madapparambath has over 15 years of experience in IT service management and consultancy with experience in planning, deploying, and supporting Linux-based projects. He has designed, developed, and deployed automation solutions based on Ansible and Ansible Automation Platform (formerly Ansible Tower) for bare metal and virtual server building, patching, container management, network operations, and custom monitoring. Gineesh has coordinated, designed, and deployed servers in data centers globally and has cross-cultural experience in classic, private cloud (OpenStack and VM ware), and public cloud environments (AWS, Azure, and Google Cloud Platform). Gineesh has handled multiple roles such as systems engineer, automation specialist, infrastructure designer, and content author. His primary focus is on IT and application automation using Ansible, containerization using OpenShift (and Kubernetes), and infrastructure automation using Terraform.

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.

Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781803235417

Core symbols most depended-on inside this repo

fail_json
called by 5808
Chapter-07/collections/ansible_collections/community/general/tests/unit/plugins/modules/source_control/gitlab/gitlab.py
get
called by 4466
Chapter-07/collections/ansible_collections/google/cloud/plugins/module_utils/gcp_utils.py
append
called by 3200
Chapter-07/collections/ansible_collections/community/general/plugins/modules/pamd.py
get
called by 2888
Chapter-07/collections/ansible_collections/community/general/plugins/modules/jira.py
get
called by 2513
Chapter-07/collections/ansible_collections/community/aws/plugins/modules/iam_policy.py
exit_json
called by 2412
Chapter-07/collections/ansible_collections/community/general/tests/unit/plugins/modules/source_control/gitlab/gitlab.py
get
called by 2330
Chapter-07/collections/ansible_collections/community/general/plugins/lookup/etcd.py
get
called by 2157
Chapter-07/collections/ansible_collections/community/general/plugins/modules/clustering/znode.py

Shape

Method 10,996
Function 10,088
Class 1,932
Route 342

Languages

Python100%

Modules by API surface

Chapter-07/collections/ansible_collections/google/cloud/plugins/modules/gcp_compute_url_map.py157 symbols
Chapter-07/collections/ansible_collections/google/cloud/plugins/modules/gcp_compute_region_url_map.py153 symbols
Chapter-07/collections/ansible_collections/community/general/tests/unit/plugins/modules/net_tools/test_nmcli.py138 symbols
Chapter-07/collections/ansible_collections/google/cloud/plugins/modules/gcp_container_cluster.py128 symbols
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/redfish_utils.py107 symbols
Chapter-07/collections/ansible_collections/community/general/tests/unit/plugins/modules/source_control/gitlab/gitlab.py94 symbols
Chapter-07/collections/ansible_collections/google/cloud/plugins/modules/gcp_compute_instance.py93 symbols
Chapter-07/collections/ansible_collections/ansible/posix/plugins/modules/firewalld.py89 symbols
Chapter-06/collections/ansible_collections/community/docker/plugins/modules/docker_container.py88 symbols
Chapter-10/collections/ansible_collections/community/docker/plugins/modules/docker_container.py87 symbols
Chapter-07/collections/ansible_collections/community/vmware/plugins/module_utils/vmware.py86 symbols
Chapter-07/collections/ansible_collections/community/general/plugins/module_utils/identity/keycloak/keycloak.py84 symbols

Datastores touched

(mysql)Database · 1 repos
databasenameDatabase · 1 repos
appDatabase · 1 repos

For agents

$ claude mcp add Ansible-for-Real-life-Automation \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page