Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

On mobile at the moment, can't share - but I have a great library of Ansible roles.

Strongly recommended for those looking for inspiration. Give "ansible-doc --list" a spin! This shows modules, it can filter for existing roles as well.



Thanks! I haven't looked at Ansible before


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' :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: