Upgrade to Pro — share decks privately, control downloads, hide ads and more …

D1-I4 Dave Halter - Beautiful Deployment Code

D1-I4 Dave Halter - Beautiful Deployment Code

Ignite Talk

We all know that DevOps is not (only) about deploying the latest WordPress anymore. There is a growing number of projects that have huge deployment scripts - think OpenStack or OpenShift. In this context it is extremely important to keep deployment code readable and maintainable.

This talk will not try to give you a best practice overview, but show you how Ansible as a whole could be improved. Ansible has a very rich set of features, its YAML files however are often a stumbling block and understanding a big YAML project is not a task for bystanders. In a simple RFC [1] there is a proposal on how Ansible could look like in the future.

[1] https://github.com/davidhalter/pysible

[2] https://github.com/davidhalter/jedi

DevOpsDays Zurich

May 09, 2017
Tweet

More Decks by DevOpsDays Zurich

Other Decks in Technology

Transcript

  1. The Zen of Python Beautiful is better than ugly. Simple

    is better than complex. Readability counts. ...
  2. from pysible.modules import apt from pysible import context # Make

    sure nginx is installed with context(delegate_to=”foo”): apt(name=nginx) Context Managers