Commit Graph

35 Commits (040b358770379d795ef07d4e5869437d46a7d68d)

Author SHA1 Message Date
Toshio Kuratomi d6af6f8477 Update for modules which import json.
Some do not use the json module directly so don't need import json.
Some needed to fallback to simplejson with no traceback if neither was installed

Fixes #1298
9 years ago
Joel Thompson ae8a4581f4 Add no_log=True to consul modules' API tokens
API tokens should be considered sensitive and not logged.
9 years ago
twmartin 90327ad76b Correct 'object not iterable' TypeError 9 years ago
Jimmy Tang b51d096c31 Fix documentation, the correct parameter is "name" 9 years ago
Brian Coca fdb4a58f97 added version_added and fixed some doc parsing issues 9 years ago
Brian Coca 6e01848602 Merge pull request #837 from jemmyw/consul-http-checks
Add consul http checks to consul.py
9 years ago
Brian Coca 15480e3d04 fixed option in examples 9 years ago
Jeremy Wells cf4b4be901 Add consul http checks to consul.py
Consul module already supports ttl and script checks. This commit adds
http checks.
9 years ago
Matt Martz e6b6bac820 znode requires a minimum of python2.6 9 years ago
Toshio Kuratomi 962afeed54 Make the znode module a valid ansible module 9 years ago
Konstantin Manna 11041dd00e bugfix: uncall an uncallable dict 9 years ago
Chris Hoffman e861e587d7 Removing token obfuscation 9 years ago
Chris Hoffman fa20898c2d Adding support for service ACLs in consul_acl module 9 years ago
Brian Coca e31a4be192 fixes to prevent doc brekage 9 years ago
Brian Coca 27e1ace8a1 moved znode to clustering added version_added 9 years ago
Toshio Kuratomi 79173ac18d Clean up unneeded urllib2 imports 9 years ago
Brian Coca cf764bf060 minor doc fixes 9 years ago
Matt Martz 8ba11e97e2 Add missing __init__.py file 10 years ago
Greg DeKoenigsberg 004dedba8a Changes to author formatting, remove emails 10 years ago
mlamatr 80663e0fbe corrected typo in URL for consul.io 10 years ago
Brian Coca c223716bc7 fixed version on consul modules 10 years ago
Brian Coca bceeba224f fix doc parsing by correctly quoting author 10 years ago
Greg DeKoenigsberg 609b6d05f3 Adding author's github id 10 years ago
Greg DeKoenigsberg da89e65dc0 Adding author's github id 10 years ago
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