DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

The Zen of Ansible

2 years ago www.ansible.com
The Zen of Ansible

Summary: This is a summary of an article originally published by the source. Read the full original article here →

Recently, https://github.com/redhat-cop/automation-good-practices/pull/42 to adopt https://peps.python.org/pep-0020/ as an overall guiding principle for designing good automation content. While there is definitely some very good advice to “The Zen of Python” that can be applied to Ansible content, adopting it in its entirety would not provide the best user experience that Ansible is capable of and known for. Its presence as a guiding principle for content design gives the wrong impression and re-enforces a mindset we don't want to recommend.

Your Ansible automation content doesn’t necessarily have to follow this guidance, but they’re good ideas to keep in mind.

These aphorisms are at the heart of why applying guidelines for a programming language to good Ansible automation content didn’t seem right to me.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com