Commit Graph

61 Commits (eda7c1b7fdf55f262fb8010ca45c2b7e5bc0d785)

Author SHA1 Message Date
David Edmonds bef9a1c14f Pass through YAML parsed object instead of string. (#2347) 8 years ago
Colin Hutchinson dfb6cccff4 consul.py doc fix (#2589)
Small fix to the examples section of consul.py
8 years ago
Kaz Cheng 4af591daef Add ability to create event and query acl rules for a given acl token (#2076) 9 years ago
René Moser 482b1a640e consul_acl: fix docs, arg_spec not matching docs (#2544) 9 years ago
Kevin Borgolte f1cdafae12 Fix Kubernetes API auth regression from 393e43b8 (#2503)
* 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
9 years ago
Brian Coca d42e51a884 added missing msg=
fixes #2498
9 years ago
Joel Thompson 800da3ae16 Fix default service_address in consul module (#2454)
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.
9 years ago
Ian Levesque 88dc108b69 add 'behavior' attribute to consul_session (#2183)
add 'behavior' attribute to consul_session
9 years ago
René Moser e388fb4006 consul: fix param name for verify SSL (#2194)
Introduced in #1793, fixes #2114, needs backport to 2.1
9 years ago
Ian Levesque cd03f10b9c Fix session-based kv acquire/release (#2181)
* Fix session-based kv acquire/release

* add example of using session in doc
9 years ago
Rene Moser 3feb69f614 consul: add docs, fix typos, minor style fix 9 years ago
Sun JianKang 08f5a3b6d0 add service address when register service (#1299) 9 years ago
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.
9 years ago
James Cammarata dc356ffd92 Merge branch 'google-kubernetes' of https://github.com/erjohnso/ansible-modules-extras into erjohnso-google-kubernetes 9 years ago
René Moser 31e7463e68 Merge pull request #1793 from ctooley/add_https_to_consul_lookup
Add https support for consul clustering modules
9 years ago
Chris Tooley 04982da9b8 Modify consul certificate validation bypass keyword from 'verify' to 'validate_certs' 9 years ago
René Moser 33dea8ef76 Merge pull request #1642 from justingood/devel
Add support for recursive znode deletion
9 years ago
René Moser 1c79efb64d Merge pull request #1725 from mscherer/clean_consul
Clean consul
9 years ago
Chris Tooley 516f7d98e7 Add version_added to documentation 9 years ago
Chris Tooley b5390824c2 Add https support for consul clustering modules 9 years ago
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)
9 years ago
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.
9 years ago
Michael Scherer 9e61b49d58 Pyflakes complain about unused import, so remove it 9 years ago
Michael Scherer 1084bb31b8 Add a datacenter parameter, fix #1693 9 years ago
Justin Good b8bc7ed9ff Add support for recursive znode deletion 9 years ago
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
Eric Johnson ffd1cac13c Adding kubernetes module 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 10 years ago
Brian Coca cf764bf060 minor doc fixes 10 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