How to write Ansible modules

I'd like to share my notes on writing modules:

http://www.relaxdiego.com/2016/06/writing-ansible-modules-with-tests.html

Hoping to get some feedback on it.

This is nice, I’d been wondering how to turn on travis on my fork for one thing.
I skimmed it a little, but two things it would be nice to add

running the integration tests (abd writing them, although that’s mostly just writing playbooks)
making the docs (especially webdocs) so you can see how your documentation will render.

Jon

Thanks for the feedback, Jon! Those items are worthy of their own articles. I’ll work on those next week unless somebody beats me to the punch! :slight_smile:

Regards,

Mark

Very useful. I’ll use it as Iam getting started.

Hi Krishna,

FYI I’ll be pushing a tiny update to that article soon. Ansible uses nose instead of pytest so I will modify the testing part to use the former.

Excellent document,