Architecture, Perf. & Sec.Lunch Talk15min
Parce que ton infrastructure mérite du vrai code en Python, pas une soupe de YAML
Cette session montre comment remplacer la complexité du YAML par une véritable approche Infrastructure as Code grâce à PyInfra : automatisation en Python pur, conditions et fonctions natives, débogage clair, réutilisation de code et tests avec pytest. En 2026, l’infrastructure mérite du code réel, pas du YAML.
talk.summaryAiDisclaimer
Loïc TosserKalvad
Tu te souviens quand on parlait d’**"Infrastructure as Code"** ? Eh bien, l’industrie a entendu *"Infrastructure as YAML"* et s’y est engouffrée. Résultat : on se noie dans une mer de fichiers de configuration sensibles à l’indentation, bourrés de templates, maltraitant Jinja2 au point que même les administrateurs système les plus aguerris en viennent à pleurer dans leur clavier mécanique.
Et puis, il y a **PyInfra** où ton infrastructure est *vraiment* du code. Du Python pur. Avec des boucles qui ne nécessitent pas d’apprendre un DSL. Avec des fonctions… attends-toi à ça… de *vraies* fonctions. Avec une gestion des erreurs qui ne consiste pas à supplier les dieux du YAML et sacrifier une virgule manquante.
Dans cette présentation, tu découvriras comment :
- Écrire de l’automatisation d’infrastructure que ton IDE comprend (littéralement)
- Déboguer avec de vraies traces de pile au lieu de *"ERROR : La tâche inclut une option avec une variable non définie"*
- Utiliser de vraies conditions Python au lieu de `when: ansible_os_family == "Debian" and not (ansible_distribution == "Ubuntu" and ansible_distribution_version is version('20.04', '>='))`
- Importer et réutiliser du code comme un développeur civilisé, et non comme un dinosaure qui copy-paste des playbooks en 1999
- Tester ton code d’infrastructure avec pytest, pas en espérant que ça ne plante pas en staging
On est en **2026**, tes serveurs méritent mieux que du YAML. Ils méritent du Python.
Et puis, il y a **PyInfra** où ton infrastructure est *vraiment* du code. Du Python pur. Avec des boucles qui ne nécessitent pas d’apprendre un DSL. Avec des fonctions… attends-toi à ça… de *vraies* fonctions. Avec une gestion des erreurs qui ne consiste pas à supplier les dieux du YAML et sacrifier une virgule manquante.
Dans cette présentation, tu découvriras comment :
- Écrire de l’automatisation d’infrastructure que ton IDE comprend (littéralement)
- Déboguer avec de vraies traces de pile au lieu de *"ERROR : La tâche inclut une option avec une variable non définie"*
- Utiliser de vraies conditions Python au lieu de `when: ansible_os_family == "Debian" and not (ansible_distribution == "Ubuntu" and ansible_distribution_version is version('20.04', '>='))`
- Importer et réutiliser du code comme un développeur civilisé, et non comme un dinosaure qui copy-paste des playbooks en 1999
- Tester ton code d’infrastructure avec pytest, pas en espérant que ça ne plante pas en staging
On est en **2026**, tes serveurs méritent mieux que du YAML. Ils méritent du Python.
Loïc Tosser
Hi there! I'm Loïc Tosser, aka wowi42, a French nerd and tech enthusiast with a passion for systems engineering and powerlifting. I bring a unique blend of expertise in IT, security, infrastructure, automation, and data streaming.
I started my journey by graduating from one of Europe's top computer science schools and then embarked on an international adventure with a one-year exchange program at Russia's top telecommunications university. This led me to the UAE, where I've been working as a CTO for startups and governmental institutions for over 12 years.
I'm a firm believer in the power of open-source and have contributed to projects like PyInfra, Arch, Alpine, Python, and Django. I love working with technologies like FreeBSD, AlpineLinux, PostgreSQL, and more. When I'm not coding, you'll find me at the gym lifting heavy things or writing about tech on my blog. I'm always excited to connect with fellow tech lovers, so feel free to reach out and chat about anything from automation to powerlifting!
And remember, knowledge itself is power! 💪🌐
I started my journey by graduating from one of Europe's top computer science schools and then embarked on an international adventure with a one-year exchange program at Russia's top telecommunications university. This led me to the UAE, where I've been working as a CTO for startups and governmental institutions for over 12 years.
I'm a firm believer in the power of open-source and have contributed to projects like PyInfra, Arch, Alpine, Python, and Django. I love working with technologies like FreeBSD, AlpineLinux, PostgreSQL, and more. When I'm not coding, you'll find me at the gym lifting heavy things or writing about tech on my blog. I'm always excited to connect with fellow tech lovers, so feel free to reach out and chat about anything from automation to powerlifting!
And remember, knowledge itself is power! 💪🌐