containers

18 Ansible tutorials tagged “containers”. Working examples covering automation, configuration management, and DevOps workflows.

Ansible Docker — Containers & Images

playbooks · 6

Automate Docker with Ansible. Pull images, run containers, manage networks and volumes, deploy with docker_compose, and build images with practical.

intermediate

Ansible for Kubernetes Operators

enterprise · 7

Manage Kubernetes clusters with Ansible. Automate cluster provisioning, application deployment, Helm charts, RBAC, and day-2 operations across.

advanced

Ansible for Docker — Build, Run & Manage Containers with Playbooks

cloud-virtualization · 2

Complete guide to managing Docker with Ansible. Build images, run containers, manage networks, volumes, and Docker Compose deployments.

intermediate

community.docker.docker_compose_v2 Module — Deploy Apps

playbooks · 6

The community.docker.docker_compose_v2 module deploys and manages Docker Compose stacks with Ansible, including health checks and rolling updates.

Beginner

Master Ansible Automation for Docker, Podman, and Kubernetes

playbooks · 5

Automate Docker, Podman, and Kubernetes with Ansible. Complete guide covering container modules, image management, Kubernetes resources, and production.

Advanced

Ansible Nomad — Deploy HashiCorp Workload Orchestrator

playbooks · 5

Deploy HashiCorp Nomad with Ansible. Server and client setup, job scheduling, Docker driver, Consul integration, Vault secrets, ACLs, and multi-datacenter.

Advanced

Ansible troubleshooting — Kubernetes K8s or OpenShift OCP 401 Unauthorized

playbooks · 4

Explore troubleshooting steps for Kubernetes 401 Unauthorized errors in Ansible when interacting with Kubernetes or OpenShift clusters.

Beginner

Deploy Kubernetes Resources with Ansible Playbook

playbooks · 4

Learn how to deploy Kubernetes resources using Ansible. Follow this guide to create namespaces, pods, and services with an Ansible playbook.

Beginner

Optimize Kubernetes CPU Resources with Ansible Playbooks

playbooks · 4

Learn to assign CPU resources to Kubernetes and OpenShift pods using Ansible. Streamline your container management with effective resource configuration.

Beginner

Assign Memory to Kubernetes Pods with Ansible

playbooks · 9

Learn how to assign memory resources to Kubernetes or OpenShift containers and pods using Ansible. Follow our live Playbook and simple code examples.

Beginner

Configure a Pod to Use a Volume for Storage on Kubernetes or OpenShift with Ansible

playbooks · 8

Learn how to configure a Kubernetes or OpenShift Pod to use a volume for persistent storage with Ansible. This guide includes a live Playbook example.

Beginner

Create Kubernetes K8s or OpenShift OCP namespace project — Ansible module k8s

playbooks · 5

How to automate the \"myapp\" namespace project created using the Ansible module k8s for Kubernetes K8s or OpenShift OCP. Tested, copy-paste examples included.

Beginner

Create Kubernetes K8s or OpenShift OCP Pod — nginx — Ansible module k8s

playbooks · 5

How to automate the creation of "nginx" Pod in namespace "example" of Kubernetes K8s or OpenShift OCP with Ansible module k8s.

Beginner

Create Kubernetes K8s or OpenShift OCP Secret — Ansible module k8s

playbooks · 5

How to automate the creation of “mysecret” secret in namespace “default” Kubernetes K8s or OpenShift OCP with Ansible module k8s.

Beginner

Create Kubernetes K8s or OpenShift OCP Service — Ansible module k8s

playbooks · 5

How to automate the creation of "nginx-service" Service and "nginx" Pod in namespace "example" of Kubernetes K8s or OpenShift OCP with Ansible module k8s.

Beginner

Install Red Hat CodeReady Containers to run OpenShift 4 in macOS

playbooks · 7

How to install Red Hat CodeReady Containers to run a full OpenShift 4 cluster in your Mac running macOS Big Sur and use the command line and the web.

Beginner

Install Red Hat OpenShift Local Kubernetes in macOS on MacBook Pro Intel x86_64 and M1 arm64

playbooks · 6

How to install Red Hat OpenShift Local Kubernetes (formerly CodeReady Containers) to run a complete OpenShift 4 cluster in your Mac (Intel Chip x86_64 or.

Beginner

Ansible Inventory with Podman

playbooks · 2

Discover how to assign Podman containers in an Ansible inventory.ini file and execute automation playbooks. Tested, copy-paste examples included.

Beginner