Commit Graph

29 Commits (be5dd09237621e7807ec85b1314573971a816e89)

Author SHA1 Message Date
Joel Thompson 3796e26a9d Add no_log=True to consul modules' API tokens
API tokens should be considered sensitive and not logged.
2016-12-08 11:33:40 -05:00
twmartin 33ee8d6f89 Correct 'object not iterable' TypeError 2016-12-08 11:33:38 -05:00
Jimmy Tang 40e6b3870e Fix documentation, the correct parameter is "name" 2016-12-08 11:33:33 -05:00
Brian Coca a65647efee added version_added and fixed some doc parsing issues 2016-12-08 11:33:27 -05:00
Jeremy Wells c8e0f3a552 Add consul http checks to consul.py
Consul module already supports ttl and script checks. This commit adds
http checks.
2016-12-08 11:33:27 -05:00
Brian Coca d530764c49 fixed option in examples 2016-12-08 11:33:27 -05:00
Matt Martz 503948203f znode requires a minimum of python2.6 2016-12-08 11:33:24 -05:00
Toshio Kuratomi dc788cf045 Make the znode module a valid ansible module 2016-12-08 11:33:24 -05:00
Konstantin Manna 21d1cd81f7 bugfix: uncall an uncallable dict 2016-12-08 11:33:21 -05:00
Chris Hoffman fa82572f01 Removing token obfuscation 2016-12-08 11:33:21 -05:00
Chris Hoffman 3f7fe00110 Adding support for service ACLs in consul_acl module 2016-12-08 11:33:21 -05:00
Brian Coca b0e86d3551 fixes to prevent doc brekage 2016-12-08 11:33:09 -05:00
Brian Coca 7c964b0dd3 moved znode to clustering added version_added 2016-12-08 11:33:08 -05:00
Toshio Kuratomi a4859e1087 Clean up unneeded urllib2 imports 2016-12-08 11:33:01 -05:00
Brian Coca b789277517 minor doc fixes 2016-12-08 11:33:00 -05:00
Matt Martz 18878be584 Add missing __init__.py file 2016-12-08 11:32:56 -05:00
Greg DeKoenigsberg c65a612d1f Changes to author formatting, remove emails 2016-12-08 11:32:51 -05:00
mlamatr 4005b2855b corrected typo in URL for consul.io 2016-12-08 11:32:44 -05:00
Brian Coca ce8db1cf79 fixed version on consul modules 2016-12-08 11:32:43 -05:00
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