summaryrefslogtreecommitdiff
path: root/clustering
Commit message (Collapse)AuthorAgeFilesLines
* Refreshed metadata for extras modulesToshio Kuratomi2016-12-066-0/+24
|
* kubernetes: handle situation when target host does not have yaml library ↵Krzysztof Magosa2016-12-051-1/+9
| | | | (fixes #3301) (#3449)
* Make `main()` calls conditional - clustering (#3647)Fabio Alessandro Locati2016-12-051-1/+2
|
* Native YAML (#3573)Fabio Alessandro Locati2016-12-011-5/+22
|
* consul: Pass through service_id if specified on a check (#3295)James Hart2016-11-111-6/+19
| | | | | | | | | Fixes #3249 The python-consul library already supports this, so it is just a simple case of enablement. This does not break the current logic in `add` of parsing as a check, then parsing as a service if that fails… because service_name is mandatory on a service registration and is invalid on a check registration.
* consul_kv, consul_acl: fix missing types bool (#3327)Jeremy Olexa2016-11-092-3/+3
| | | | | | * Specify bool in consul_kv: validate_certs param * Specify bool in consul_acl: validate_certs param * Specify bool in consul_kv: retrieve param
* More isinstance fixes (#3405)jctanner2016-11-091-1/+1
| | | | | * More isinstance fixes * Use double types
* consul_kv: remove default token (#3373)Steve Gargan2016-11-081-3/+3
| | | changes default token from "anonymous" to None. Fixes #792
* allow services to be removed by name as well as id (#3372)Steve Gargan2016-11-081-5/+5
|
* Make consul modules pass sanity test for python 3Michael Scherer2016-10-174-18/+18
|
* remove duration from lock delay as seconds are the only granularity ↵Steve Gargan2016-09-141-20/+10
| | | | | supported. (#2877) add utf header to file so that it loads correctly
* correctly iterate and return results of any service checks. (#2878)Steve Gargan2016-09-081-3/+2
| | | current implementation was breaking making the module unusable, changing to the list comprehension fixes this. Also default to seconds instead of throwing a exception when no duration units are supplied as this causes tests to fail
* Pass through YAML parsed object instead of string. (#2347)David Edmonds2016-07-221-1/+4
|
* consul.py doc fix (#2589)Colin Hutchinson2016-07-201-1/+1
| | | Small fix to the examples section of consul.py
* Add ability to create event and query acl rules for a given acl token (#2076)Kaz Cheng2016-07-161-2/+6
|
* consul_acl: fix docs, arg_spec not matching docs (#2544)René Moser2016-07-111-3/+5
|
* Fix Kubernetes API auth regression from 393e43b8 (#2503)Kevin Borgolte2016-07-101-9/+13
| | | | | | | | | | | | | | * Fix Kubernetes API auth regression from 393e43b8 Commit 393e43b8 renames url_username and url_password to username and password, which breaks authentication to a Kubernetes API endpoint as fetch_url() in ansible.module_utils.urls relies on url_username and url_password being set. * Add aliases for clustering/kubernetes.py - username as alias for url_username - password as alias for url_password
* added missing msg=Brian Coca2016-06-301-1/+1
| | | | fixes #2498
* Fix default service_address in consul module (#2454)Joel Thompson2016-06-191-6/+8
| | | | | | | | | PR #1299 introduced the service_address parameter but specified a default value of localhost. This is a breaking change; prior to that, the consul module would always assume that the service should advertise the address that the Consul agent was listening on. With this change, the consul module will now default to advertising localhost to all nodes for the service, which isn't the desired behavior. This changes the default back to None which is the implicit default prior to #1299.
* add 'behavior' attribute to consul_session (#2183)Ian Levesque2016-06-131-0/+13
| | | add 'behavior' attribute to consul_session
* consul: fix param name for verify SSL (#2194)René Moser2016-05-273-3/+3
| | | Introduced in #1793, fixes #2114, needs backport to 2.1
* Fix session-based kv acquire/release (#2181)stable-21Ian Levesque2016-05-111-13/+27
| | | | | | * Fix session-based kv acquire/release * add example of using session in doc
* consul: add docs, fix typos, minor style fixRene Moser2016-04-251-7/+7
|
* add service address when register service (#1299)Sun JianKang2016-04-251-2/+18
|
* Fixing/cleaning up kubernetes submissionerjohnso-google-kubernetesJames Cammarata2016-04-141-179/+122
| | | | | | | | | | | | | | 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.
* Merge branch 'google-kubernetes' of ↵James Cammarata2016-04-131-0/+449
|\ | | | | | | https://github.com/erjohnso/ansible-modules-extras into erjohnso-google-kubernetes
| * Adding kubernetes moduleEric Johnson2016-01-051-0/+449
| |
* | Merge pull request #1793 from ctooley/add_https_to_consul_lookupRené Moser2016-03-234-0/+62
|\ \ | | | | | | Add https support for consul clustering modules
| * | Modify consul certificate validation bypass keyword from 'verify' to ↵Chris Tooley2016-03-234-11/+11
| | | | | | | | | | | | 'validate_certs'
| * | Add version_added to documentationChris Tooley2016-03-054-0/+8
| | |
| * | Add https support for consul clustering modulesChris Tooley2016-03-054-0/+54
| | |
* | | Merge pull request #1642 from justingood/develRené Moser2016-03-191-2/+9
|\ \ \ | | | | | | | | Add support for recursive znode deletion
| * | | Add support for recursive znode deletionJustin Good2016-02-231-2/+9
| |/ /
* | | Merge pull request #1725 from mscherer/clean_consulRené Moser2016-03-151-13/+8
|\ \ \ | | | | | | | | Clean consul
| * | | Remove unused variablesMichael Scherer2016-02-241-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | | Rename consul variable to consul_clientMichael Scherer2016-02-241-8/+8
| | | | | | | | | | | | | | | | | | | | Since the module is also named consul, pyflakes emit a warning about it since the variable shadow the module.
| * | | Pyflakes complain about unused import, so remove itMichael Scherer2016-02-241-2/+0
| |/ /
* | | Add a datacenter parameter, fix #1693Michael Scherer2016-02-241-1/+2
|/ /
* | Update for modules which import json.json-imports-fallbackToshio Kuratomi2016-01-112-10/+0
|/ | | | | | | 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
* Add no_log=True to consul modules' API tokensJoel Thompson2015-12-173-4/+4
| | | | API tokens should be considered sensitive and not logged.
* Correct 'object not iterable' TypeErrortwmartin2015-12-101-2/+1
|
* Fix documentation, the correct parameter is "name"Jimmy Tang2015-11-061-1/+1
|
* added version_added and fixed some doc parsing issuesBrian Coca2015-10-141-15/+10
|
* Merge pull request #837 from jemmyw/consul-http-checksBrian Coca2015-10-141-16/+59
|\ | | | | Add consul http checks to consul.py
| * Add consul http checks to consul.pyJeremy Wells2015-10-121-16/+59
| | | | | | | | | | Consul module already supports ttl and script checks. This commit adds http checks.
* | fixed option in examplesBrian Coca2015-10-121-4/+4
| |
* | znode requires a minimum of python2.6Matt Martz2015-10-011-0/+1
| |
* | Make the znode module a valid ansible moduleToshio Kuratomi2015-09-301-0/+0
| |
* | bugfix: uncall an uncallable dictKonstantin Manna2015-09-301-1/+1
| |
* | Removing token obfuscationChris Hoffman2015-08-181-5/+2
| |