3 ms·
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 -
by bravetraveler 2y ago
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.
- JP_Watts 2y agoThanks! I haven't looked at Ansible before
- bravetraveler 2y agoHappy 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' :)