deoren / notes

Various notes for topics I'm learning
2 stars 0 forks source link

Ansible | Best Practices guides #21

Open deoren opened 5 years ago

deoren commented 5 years ago

Worth linking to some of the better / more useful guides I've come across.

deoren commented 5 years ago

http://hakunin.com/six-ansible-practices

The tip for setting up a $HOME/.ssh/config file to ignore SSH Host Keys doesn't qualify for best practices in terms of security (horrible practice for real use), but was very useful when I was trying to stand up a reliable test environment.

There are some other good tips in the guide, including coverage of the changed_when and failed_when options to keep from having walls of false-positive alerts when running custom command/shell module calls where a module doesn't (yet) exist.