diff options
author | Michael Scherer <misc@zarb.org> | 2016-02-24 12:03:05 +0100 |
---|---|---|
committer | Michael Scherer <misc@zarb.org> | 2016-02-24 12:03:05 +0100 |
commit | 1084bb31b802e05c722e7114c24184c1d7b541a9 (patch) | |
tree | 3b478127a604a1c6a647b1ea2bcb3e6855e0456e /clustering | |
parent | f5e798f13ca13938db76cc3ede85f0a05b9fc578 (diff) | |
download | ansible-modules-extras-1084bb31b802e05c722e7114c24184c1d7b541a9.tar.gz |
Add a datacenter parameter, fix #1693
Diffstat (limited to 'clustering')
-rw-r--r-- | clustering/consul_session.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clustering/consul_session.py b/clustering/consul_session.py index c298ea7f..423a6ece 100644 --- a/clustering/consul_session.py +++ b/clustering/consul_session.py @@ -248,7 +248,8 @@ def main(): name=dict(required=False), node=dict(required=False), state=dict(default='present', - choices=['present', 'absent', 'info', 'node', 'list']) + choices=['present', 'absent', 'info', 'node', 'list']), + datacenter=dict(required=False) ) module = AnsibleModule(argument_spec, supports_check_mode=False) |