Commit Graph

61 Commits (dc0290a06798b12f089b8f6c1734aa4af9aa45b2)

Author SHA1 Message Date
Greg DeKoenigsberg 7ed647d292 Adding author's github id 10 years ago
Greg DeKoenigsberg 6f30acd0d2 Adding author's github id 10 years ago
Toshio Kuratomi e5022ba87b Add python >= 2.6 to documented deps 10 years ago
Matt Martz 1b3b0caa51 Give consul modules a .py extension 10 years ago
Steve Gargan 3a6f57cbc0 use module.fail_json to report import errors. document valid duration units 10 years ago
Steve Gargan 3900643352 documentation tweaks to fix missing arguments and specification of defaults 10 years ago
Steve Gargan b553f59a54 Properly report exception causes particularly connection exceptions contacting the consul agent 10 years ago
Steve Gargan 0c6d426c40 require a valid duration suffix for interval and ttl values 10 years ago
Steve Gargan a8584ade95 fix logic that tests for change in an existing registered service 10 years ago
Steve Gargan 0d7647d904 remove debug imports from acl module 10 years ago
Steve Gargan ea6c887d6c 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
10 years ago