Introduction
Automating your containers (Docker, Podman, Kubernetes, and OpenShift) with Ansible enables you to achieve Infrastructure as Code (IaC). With IaC, you can automate your workflows, CI/CD pipelines, and respond faster to critical business demands.
For Beginners
Ansible provides various modules to manage Docker containers, Podman, and more. This section will guide you through the initial setup of your Ansible controller to interact with the Docker engine, which is often a hurdle for users new to Ansible.
- [Deploy Apache Web Server in a Docker Container for Debian-like systems](/articles/deploy-apache-web-server-in-a-docker-container-for-debian-like-systems-ansible-modules-dockerimage-and-dockercontainer)
- [Deploy Apache Web Server in a Podman Container for RedHat-like systems](/articles/deploy-apache-web-server-in-a-podman-container-for-redhat-like-systems-ansible-modules-podmanimage-and-podmancontainer)
- [Deploy Apache Web Server in a Podman Container for RedHat-like systems - Improved](/articles/deploy-apache-web-server-in-a-podman-container-for-redhat-like-systems-ansible-modules-podmanimage-and-podmancontainer2)
Installation
- [Install Red Hat CodeReady Containers to run OpenShift 4 in macOS](/articles/install-red-hat-codeready-containers-to-run-openshift-4-in-macos)
AWX
- [Install Ansible AWX Operator for Kubernetes (K8s) and OpenShift (OCP)](/articles/install-ansible-awx-operator-for-kubernetes-k8s-and-openshift-ocp-ansible-awx)
- [Run the latest Ansible AWX in Docker containers](/articles/run-the-latest-ansible-awx-in-docker-containers)
- [Build Ansible AWX in Docker containers](/articles/build-ansible-awx-in-docker-containers-ansible-awx)
- [Run and Stop Ansible AWX in Docker containers](/articles/run-and-stop-ansible-awx-in-docker-containers-ansible-awx)
- [Create Ansible AWX superuser in Docker containers](/articles/create-ansible-awx-superuser-in-docker-containers-ansible-awx)
Kubernetes
- [Create Kubernetes or OpenShift Namespace Project](/articles/create-kubernetes-k8s-or-openshift-ocp-namespace-project-ansible-module-k8s)
- [Create Kubernetes or OpenShift Pod](/articles/create-kubernetes-k8s-or-openshift-ocp-pod-ansible-module-k8s)
- [Create Kubernetes or OpenShift Secret](/articles/create-kubernetes-k8s-or-openshift-ocp-secret-ansible-module-k8s)
- [Create Kubernetes or OpenShift Service](/articles/create-kubernetes-k8s-or-openshift-ocp-service-ansible-module-k8s)
- [Install Red Hat OpenShift Local Kubernetes on macOS](/articles/install-red-hat-openshift-local-kubernetes-in-macos-on-macbook-pro-intel-x8664-and-m1-arm64)
- [Apply Multiple Yaml Files at Once on Kubernetes or OpenShift](/articles/apply-multiple-yaml-files-at-once-on-kubernetes-k8s-or-openshift-ocp-ansible-module-k8s-and-lookup-plugin-fileglob)
- [Assign CPU Resources to Kubernetes or OpenShift Containers and Pods](/articles/assign-cpu-resources-to-kubernetes-k8s-or-openshift-ocp-containers-and-pods-ansible-module-k8s)
- [Assign