~/talk

No Compromise: Use Ansible properly or stick to your scripts

Talkat PyCon.DE 2017 · 2017-10-25..10-27· [devops-and-delivery, python]
links:none on file
slides:none on file

Shows concrete fixes: replace fragile shell/command tasks with a custom Ansible module written in Python that implements proper version checks, supports check mode, and returns accurate changed/results so `ansible --check` actually predicts changes. Adds unit tests (pytest) and playbook asserts, moves app configuration into Ansible templates so handlers only restart what changed, and uses local_action/fake hosts plus a REST client to deploy to Mesos via API. Result: dry runs work, fewer unnecessary restarts, automated rollouts.

AI-written summary · about

  1. 0:00Intro
  2. 0:27No Compromise: Use Ansible properly or stick to your scripts
  3. 1:02Short Ansible Example
  4. 3:18Where do we use Ansible
  5. 4:42How we started
  6. 6:50Application Deployment Problems
  7. 9:21Why an Ansible Module?
  8. 10:51A Bundle Deployment Module
  9. 12:53Usage Testing
  10. 17:01Eat your own Dog Food
  11. 18:54Deployment without Machines
  12. 20:34Deploy to a fake Host
  13. 22:07Summary
  14. 23:50Configuration and Handler Problems
~/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.