Config Management Camp 2024 Ghent

Mastering Ansible Playbooks: Best Practices and Tools
2024-02-06, 15:55–16:45, B.1.015

Ansible playbooks are the heart of Ansible automation. They allow you to describe the desired state of your infrastructure and Ansible will take care of making it happen. But writing good playbooks takes practice.

In this session, we'll cover the best practices for writing Ansible playbooks that are clear, concise, and effective. You'll learn how to:

  • organize your playbooks into roles and tasks;
  • use variables and conditionals to make your playbooks more flexible;
  • handle errors gracefully;
  • test your playbooks thoroughly;
  • use tools to shape up your playbooks in seconds.

By the end of this session, you'll have the skills you need to write Ansible playbooks that will help you automate your infrastructure efficiently and reliably.

Nejc Slabe is a DevOps engineer with experience in Ansible, Kubernetes, networking, and security infrastructure. He began his automation journey with a simple idea to automate his infrastructure management pains, which started his adventure of automating everything that can be automated. Now he can't wait to help others do the same.

This speaker also appears in: