Re:Take a look at traefik, even if you don't use containers
by bithaze on Monday May 06, 2024 @10:02AM
(#40274815)
I keep the module index[0] in my bookmarks bar and that's also been pretty easy to search and read.
[0] https://docs.ansible.com/ansible/latest/collections/index_mo...
I've found a pretty good workflow with using ansible-doc though, with two-three aliases that I use constantly:
Then I'll:1. Use adls to quickly search (in less with vim bindings) for relevant commands,
2. Check up the docs with `ad <command>`.
3. Almost always immediately jump to the end (`G`) to see the examples, which typically provides a direct answer to what I need.
Since authoring Ansible scripts is so dependent on the docs, I think they really should make this process work better out of the box though, providing some interface to do these lookups quicker without a lot of custom aliases.