Hacker News new | ask | show | jobs
by bravetraveler 590 days ago
Happy to share! I'll save the sales pitch, but the module/role library is truly a good source of inspiration despite the language.

The code itself isn't that important - declarative YAML, but best practices/patterns can be an art. I don't actually have much published that wouldn't tie my identities together :P

Avoid using Ansible to wrap 'shell' commands with modules of the same name... outside of information gathering, stick with the modules specific to the work. Also avoid using when - may often prefer 'handlers' :)