summaryrefslogtreecommitdiff
path: root/clustering/consul_session.py
diff options
context:
space:
mode:
authorMichael Scherer <misc@zarb.org>2016-02-24 12:03:05 +0100
committerMichael Scherer <misc@zarb.org>2016-02-24 12:03:05 +0100
commit1084bb31b802e05c722e7114c24184c1d7b541a9 (patch)
tree3b478127a604a1c6a647b1ea2bcb3e6855e0456e /clustering/consul_session.py
parentf5e798f13ca13938db76cc3ede85f0a05b9fc578 (diff)
downloadansible-modules-extras-1084bb31b802e05c722e7114c24184c1d7b541a9.tar.gz
Add a datacenter parameter, fix #1693
Diffstat (limited to 'clustering/consul_session.py')
-rw-r--r--clustering/consul_session.py3
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)