Back to Browse

Learn Ansible - Deploy Docker Containers

450 views
Jul 30, 2025
12:38

Hey gang! Professor Feeser here, and in this video we'll examine an Ansible playbook that deploys Docker and Docker containers. The example found in this video can be found in my GitHub repository https://github.com/rzfeeser/ansibleexamples/ If you're learning Ansible or into automating with DevOps, you'll enjoy me demoing: - Writing a Playbook that Installs Docker and Deploys a Container - Understanding Ansible Idempotent Behaviors - Creating a pre_tasks Section within a Playbook TIMESTAMPS 0:00 Intro with RZFeeser 0:23 Begin Reviewing the Ansible Playbook 1:10 Hosts and an Inventory 2:05 Vars Section 3:01 The pre_tasks Section 4:10 The tasks Section 4:17 ansible.builtin.package 5:30 ansible.builtin.service 5:40 community.docker.docker_image 6:45 Using ansible-doc to Understand Ansible Modules 7:30 Reviewing Playbook Syntax 8:43 Running Ansible Playbook docker01_deploy.yml 10:08 Idempotent Testing the Playbook 11:00 Compliance Testing with Ansible 11:51 Outro with RZFeeser ABOUT OUR CHANNEL Our channel is about teaching everyone coding, networking, telecom, security, DevOps, automation, and AI! This includes languages like Python, Terraform, Ansible, Go, coding tools, Wireshark, 5G, SIP, and more! CHECK OUT OUR OTHER VIDEOS https://youtu.be/NvIgR83mAXM FIND US AT https://www.iris7.com GET IN TOUCH Interested in hiring Professor Feeser for an online or onsite teach? Start a conversation via https://www.iris7.com/contact FOLLOW US ON SOCIAL Get updates or reach out to Get updates on our Social Media Profiles! Twitter: https://twitter.com/CodeWithFeeser Instagram: https://instagram.com/CodeWithFeeser #playbooks #automation #devops

Download

0 formats

No download links available.

Learn Ansible - Deploy Docker Containers | NatokHD