Implementing custom modules

Hi folks,

I need a module like wait_for that also checks for something useful
returned by a URL. The reason is that a port might be open but the
service might not be returning anything useful yet.

So, I'd like to know how to implement a custom module that resides outside
the ansible project so that I don't have to either fork the project or copy
my module into the project. In other words, I want to extend ansible with
a custom module.

Nevermind folks, I just discovered the Bundling Ansible Modules With
Playbooks section from the Best Practices documentation:

  http://docs.ansible.com/playbooks_best_practices.html#bundling-ansible-modules-with-playbooks

* Marc Tardif <marc@interunion.ca> [2014-04-07 12:22 -0400]:

You might want to take a look at: http://docs.ansible.com/playbooks_loops.html#id19