Commit Graph

10 Commits (28f8f5ed705bbf44ce7510abe0a26cf59872de80)

Author SHA1 Message Date
Brian Coca c4f52f62f7 fix doc parsing by correctly quoting author 2016-12-08 11:32:39 -05:00
Toshio Kuratomi a8c12ec097 Add python >= 2.6 to documented deps 2016-12-08 11:32:36 -05:00
Matt Martz acee6436af Give consul modules a .py extension 2016-12-08 11:32:36 -05:00
Steve Gargan 366f163495 use module.fail_json to report import errors. document valid duration units 2016-12-08 11:32:35 -05:00
Steve Gargan e1ff0feb58 documentation tweaks to fix missing arguments and specification of defaults 2016-12-08 11:32:35 -05:00
Steve Gargan b5faf88494 Properly report exception causes particularly connection exceptions contacting the consul agent 2016-12-08 11:32:35 -05:00
Steve Gargan e701972186 require a valid duration suffix for interval and ttl values 2016-12-08 11:32:35 -05:00
Steve Gargan 2728dc3fb8 fix logic that tests for change in an existing registered service 2016-12-08 11:32:35 -05:00
Steve Gargan a04bd291b4 remove debug imports from acl module 2016-12-08 11:32:34 -05:00
Steve Gargan 4b5e73c11c Initial commit of Ansible support for the Consul clustering framework (http://consul.io). Submission includes support for - creating and registering services and checks - reading, writing and lookup for values in consul's kv store - creating and manipulating sessions for distributed locking on values in the kv - creating and manipulating ACLs for restricting access to the kv store - inventory support that reads the Consul catalog and group nodes according to - datacenters - exposed services - service availability - arbitrary groupings from the kv store
This submission makes extensive use of the python-consul library and this is required
as a dependency and can be installed from pip.

The tests were written to target a vagrant cluster which can be setup by following the
instructions here http://github.com/sgargan/consul-vagrant
2016-12-08 11:32:34 -05:00