Finding an Ansible Bug on Apt Pinning and Installing Docker Compose v2

preview_player
Показать описание
I recently came across a bug with Ansible 2.13, here's a reflection on the debugging process.

Hit the subscribe button to receive more videos like this!

REFERENCE LINKS
---------------------------------------------------

COURSES
---------------------------------------------------
Courses I've created that focus on web dev and deployment topics.

THE TOOLS I USE / GEAR
---------------------------------------------------

FOLLOW ME ELSEWHERE
---------------------------------------------------

TIMESTAMPS
---------------------------------------------------
0:00 -- Intro
0:39 -- Adding Docker Compose v2 support to my Ansible Docker role
1:58 -- Going over how specific package versions get installed on a system
4:22 -- Going over the basics of pinning Apt packages
8:35 -- Apt's version epoch (the number before the colon)
9:51 -- This used to work, why would Docker Compose v2 not work?
11:30 -- Showing how I overrode the role's defaults to pin versions
12:24 -- The Ansible task to apt install them didn't work but it manually works
13:04 -- Going over the initial debug process
15:12 -- Trying it out without Ansible
17:08 -- I tried a few changes within Ansible
18:15 -- The solution is often easy once you know the problem
19:13 -- Skimming the blog post
19:40 -- Beware of internal biases when troubleshooting
Рекомендации по теме
Комментарии
Автор

Hi Nick. Thanks for this video. I know almost everybody wants to share their wins, but not fails. But fails are our best teachers. That is why I am grateful that you are constantly share various problematic cases, I really appreciate that.
I also try to break problems into a piecies, but, as you said, sometimes it is super hard to calm yourself down. Perseverance is 100% key here.

nnutipa