Unable to see third-party module on devel branch

Hi guys,

I’m a absolute beginner to Ansible. I was trying to read the source code of the digital ocean cloud module and hope to contribute a new module to it.
However, after I forked the repo, I was not able to see any of the third-party module in the directory hireachy when I was on devel branch.

For example:

The following url just shows me the basic module source

https://github.com/ansible/ansible/tree/devel/lib/ansible/modules

whereas I can see the cloud module directory only if I switch the branch to stable-2.9
https://github.com/ansible/ansible/tree/stable-2.9/lib/ansible/modules

In the README, it says I should be creating feature branch based off the devel branch but now I am not sure about that anymore.

Can you guys help me on this?

I apologize if this question seems stupid :stuck_out_tongue:

That’s not a stupid question at all, especially since things in the development branch of ansible/ansible have changed quite a bit recently.

We recently migrated most modules to collections. The Digital Ocean modules were moved to the community.general collection. Pull requests and new modules for Digital Ocean should be submitted to that repository.

You can clone that repository and begin working on it using this command:

git clone https://github.com/ansible-collections/community.general ~/.ansible/collections/ansible_collections/community/general

Thanks for the help Sam!