PyInfra: Because Your Infrastructure Deserves Real Code in Python, Not YAML Soup by Loïc Tosser "wowi42"

Because Your Infrastructure Deserves Real Code in Python, Not YAML Soup

Abstract

Remember when we said "Infrastructure as Code"? Somehow, the industry heard "Infrastructure as YAML" and ran with it. This talk promotes PyInfra as a Python-based alternative for infrastructure automation with real code, IDE support, proper debugging, and testing with pytest.

Description

Remember when we said "Infrastructure as Code"? Somehow, the industry heard "Infrastructure as YAML" and ran with it.

This presentation critiques YAML-based infrastructure tools and promotes PyInfra as a Python-based alternative. Key topics covered include:

The talk demonstrates converting a 500-line Ansible playbook into 50 lines of maintainable Python code, highlighting benefits like list comprehensions and actual logic capabilities.