~/talk

One person's Ansible is another's pyinfra.

Talkat PyCon AU 2023 · 2023-08-18..08-22· [devops-and-delivery, python]
links:none on file
slides:none on file

Shows a concrete conversion: converted Ansible playbook to pyinfra by rewriting inventory and deploy scripts as executable Python, keeping SSH sessions open and using pyinfra connectors (SSH, Docker, Terraform). Implements the home‑lab known_hosts maintenance and demonstrates wrote two facts and an operation to collect and apply SSH host keys, handling idempotency and rehashing when changes occur. Commands and their outputs are visible for debugging, and the conversion runs successfully on the demo hosts as shown. home-lab SSH known_hosts maintenance

AI-written summary · about

  1. 0:00Introduction
  2. 1:28Ansible struggles
  3. 8:45Discovering pyinfra
  4. 14:06pyinfra vs Ansible
  5. 22:15Ansible to pyinfra
  6. 26:32pyinfra script walkthrough
  7. 30:49Debugging and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.