automation-good-practices
automation-good-practices copied to clipboard
Reuse stuff from Red Hatter's blog entry
See how much from https://www.ansiblejunky.com/blog/ansible-101-standards/ can be reused
Let me know if you have questions on any of the items in my blog. One thing I liked about my list versus others I have so far, is that I'm not trying to cover everything... otherwise it can get daunting for the reader and folks are less likely to even read it and additionally use them.
You probably meant that you are not trying to cover everything?
Points from the blog that I think should be part of the good practices guide:
- Start Simple and Build as Needed
- Use smoke tests when starting services instead of arbitrary delays
- Generally, refrain from creating arbitrary delays between tasks
- Always mention the state
- Group hosts for easier inventory selection and less conditional tasks
- Build single source of truth
- Create separate repository for your Inventory
- Roles should never contain vaulted information
- Define paths without trailing slash