Commit graph

52 commits

Author SHA1 Message Date
Ian Levesque
cd03f10b9c Fix session-based kv acquire/release (#2181)
* Fix session-based kv acquire/release

* add example of using session in doc
2016-05-11 19:28:00 +02:00
Rene Moser
3feb69f614 consul: add docs, fix typos, minor style fix 2016-04-25 10:09:15 +02:00
Sun JianKang
08f5a3b6d0 add service address when register service (#1299) 2016-04-25 09:58:07 +02:00
James Cammarata
393e43b876 Fixing/cleaning up kubernetes submission
1) Removed kubectl functionality. We'll move that into a different
   module in the future. Also removed post/put/patch/delete options,
   as they are not Ansible best practice.
2) Expanded error handling in areas where tracebacks were most likely,
   based on bad data from users, etc.
3) Added an 'insecure' option and made the password param optional, to
   enable the use of the local insecure port.
4) Allowed the data (both inline and from the file) to support multiple
   items via a list. This is common in YAML files where mutliple docs
   are used to create/remove multiple resources in one shot.
5) General bug fixing.
2016-04-14 16:43:59 -04:00
James Cammarata
dc356ffd92 Merge branch 'google-kubernetes' of https://github.com/erjohnso/ansible-modules-extras into erjohnso-google-kubernetes 2016-04-13 16:05:17 -04:00
René Moser
31e7463e68 Merge pull request #1793 from ctooley/add_https_to_consul_lookup
Add https support for consul clustering modules
2016-03-23 21:15:37 +01:00
Chris Tooley
04982da9b8 Modify consul certificate validation bypass keyword from 'verify' to 'validate_certs' 2016-03-23 13:23:30 +00:00
René Moser
33dea8ef76 Merge pull request #1642 from justingood/devel
Add support for recursive znode deletion
2016-03-19 13:57:44 +01:00
René Moser
1c79efb64d Merge pull request #1725 from mscherer/clean_consul
Clean consul
2016-03-15 23:19:07 +01:00
Chris Tooley
516f7d98e7 Add version_added to documentation 2016-03-05 00:55:08 +00:00
Chris Tooley
b5390824c2 Add https support for consul clustering modules 2016-03-05 00:37:41 +00:00
Michael Scherer
250494eaef Remove unused variables
Session_id is unused in update_session, changed is always specifically
set in all exit_json call, and consul_client.session.destroy return True
or False, and is unused later (nor checked)
2016-02-24 12:23:12 +01:00
Michael Scherer
05ac6edd45 Rename consul variable to consul_client
Since the module is also named consul, pyflakes emit a warning
about it since the variable shadow the module.
2016-02-24 12:22:06 +01:00
Michael Scherer
9e61b49d58 Pyflakes complain about unused import, so remove it 2016-02-24 12:21:10 +01:00
Michael Scherer
1084bb31b8 Add a datacenter parameter, fix #1693 2016-02-24 12:03:05 +01:00
Justin Good
b8bc7ed9ff Add support for recursive znode deletion 2016-02-23 10:20:44 +00:00
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
2016-01-11 13:06:22 -08:00
Eric Johnson
ffd1cac13c Adding kubernetes module 2016-01-05 14:57:08 +00:00
Joel Thompson
ae8a4581f4 Add no_log=True to consul modules' API tokens
API tokens should be considered sensitive and not logged.
2015-12-17 23:32:05 -05:00
twmartin
90327ad76b Correct 'object not iterable' TypeError 2015-12-10 09:49:58 -06:00
Jimmy Tang
b51d096c31 Fix documentation, the correct parameter is "name" 2015-11-06 13:17:09 +00:00
Brian Coca
fdb4a58f97 added version_added and fixed some doc parsing issues 2015-10-14 11:06:29 -04:00
Brian Coca
6e01848602 Merge pull request #837 from jemmyw/consul-http-checks
Add consul http checks to consul.py
2015-10-14 11:01:03 -04:00
Brian Coca
15480e3d04 fixed option in examples 2015-10-12 18:20:23 -04:00
Jeremy Wells
cf4b4be901 Add consul http checks to consul.py
Consul module already supports ttl and script checks. This commit adds
http checks.
2015-10-12 12:11:10 +02:00
Matt Martz
e6b6bac820 znode requires a minimum of python2.6 2015-10-01 12:07:43 -05:00
Toshio Kuratomi
962afeed54 Make the znode module a valid ansible module 2015-09-30 19:57:29 -07:00
Konstantin Manna
11041dd00e bugfix: uncall an uncallable dict 2015-09-30 10:13:12 -04:00
Chris Hoffman
e861e587d7 Removing token obfuscation 2015-08-18 19:21:07 -04:00
Chris Hoffman
fa20898c2d Adding support for service ACLs in consul_acl module 2015-08-16 12:13:20 -04:00
Brian Coca
e31a4be192 fixes to prevent doc brekage 2015-08-13 00:00:09 -04:00
Brian Coca
27e1ace8a1 moved znode to clustering added version_added 2015-08-10 10:05:50 -04:00
Toshio Kuratomi
79173ac18d Clean up unneeded urllib2 imports 2015-07-20 23:04:27 -07:00
Brian Coca
cf764bf060 minor doc fixes 2015-07-17 01:19:21 -04:00
Matt Martz
8ba11e97e2 Add missing __init__.py file 2015-06-30 13:45:24 -05:00
Greg DeKoenigsberg
004dedba8a Changes to author formatting, remove emails 2015-06-16 14:32:39 -04:00
mlamatr
80663e0fbe corrected typo in URL for consul.io 2015-06-16 11:33:12 -04:00
Brian Coca
c223716bc7 fixed version on consul modules 2015-05-28 10:05:10 -04:00
Brian Coca
bceeba224f fix doc parsing by correctly quoting author 2015-05-14 09:19:24 -04:00
Greg DeKoenigsberg
609b6d05f3 Adding author's github id 2015-05-13 14:43:50 -04:00
Greg DeKoenigsberg
da89e65dc0 Adding author's github id 2015-05-13 14:43:28 -04:00
Greg DeKoenigsberg
7ed647d292 Adding author's github id 2015-05-13 14:43:09 -04:00
Greg DeKoenigsberg
6f30acd0d2 Adding author's github id 2015-05-13 14:42:46 -04:00
Toshio Kuratomi
e5022ba87b Add python >= 2.6 to documented deps 2015-05-12 08:43:31 -07:00
Matt Martz
1b3b0caa51 Give consul modules a .py extension 2015-05-11 10:09:56 -05:00
Steve Gargan
3a6f57cbc0 use module.fail_json to report import errors. document valid duration units 2015-04-27 13:40:21 +01:00
Steve Gargan
3900643352 documentation tweaks to fix missing arguments and specification of defaults 2015-04-26 22:27:53 +01:00
Steve Gargan
b553f59a54 Properly report exception causes particularly connection exceptions contacting the consul agent 2015-03-16 16:50:53 +00:00
Steve Gargan
0c6d426c40 require a valid duration suffix for interval and ttl values 2015-03-03 20:03:46 +00:00
Steve Gargan
a8584ade95 fix logic that tests for change in an existing registered service 2015-03-03 14:18:56 +00:00