Ansible Best Practices

COMPLEXITY KILLS PRODUCTIVITY That’s not just a marketing slogan. We really mean it and believe that. We strive to reduce complexity in how we’ve designed Ansible tools and encourage you to do the same. Strive for simplification in what you automate.

OPTIMIZE FOR READABILITY If done properly, it can be the documentation of your workflow automation.

THINK DECLARATIVELY Ansible is a desired state engine by design. If you’re trying to “write code” in your plays and roles, you’re setting yourself up for failure. Our YAML-based playbooks were never meant to be for programming.