How to view module docs for older collection versions?

Hi folks,

Quick question—how can I check the docs for an Ansible module from a specific version of a collection (not the latest)?

For example, I want to see the Proxmox inventory module docs from community.general version 8.6.8. So far, the only way I found is digging through the source code. Is there a better way?

Thanks!

Using docs.ansible.com probably isn’t the best way, but you can look at them on galaxy.ansible.com:

https://galaxy.ansible.com/ui/repo/published/community/general/docs/?version=8.6.8
3 Likes

Another option is using ansible-doc as it will always show docs for what is installed on your system

3 Likes

Ah! Thanks! docs on galaxy and ansible-doc forgot about that one, will also solve the problem when using old versions of ansible-core :+1:

you can use new versions of core, you just need the right version of the collection