Hi,
I would like to study Ansible’s source code because I would like to contribute to the project. Because of my lack of experiences I would need some advice from experienced contributors. Could you please advise me what is the best way to start studying code? With which file or directory should I start and how should I then explore from that point into depth?
I would really appreciate if you could give some advice.
I think a good entry point would be to look at the bin/ansible source,
then gradually try to understand the underlying ansible classes that are
used from there.
I think the modules code (library/*) are generally pretty easy to understand, and they also use the code in lib/ansible/module_common.py too.
Looks like I replied to the wrong email previously, be sure to check out
http://ansibleworks.com/docs/developing_modules.html
I also recommend just diving in and getting your feet wet.
Tracing to modules through bin/ansible-playbook or bin/ansible can be done but if you are just interested in modules it’s a bit of a hop