summaryrefslogtreecommitdiff
path: root/messaging
diff options
context:
space:
mode:
authorManuel Sousa <manuel.sousa@gmail.com>2015-05-13 23:28:11 +0100
committerManuel Sousa <manuel.sousa@gmail.com>2015-05-13 23:28:11 +0100
commit3f2c4426ae7f234dfc1927a2c6507e42e4438261 (patch)
treeebc13636ad7c624f5ba1b917bd9825f2212c6481 /messaging
parente87422ee967d99c31be9494c8c7334a0021b7941 (diff)
downloadansible-modules-extras-3f2c4426ae7f234dfc1927a2c6507e42e4438261.tar.gz
Added GPL license + Don't log password
Implemented resmo suggestions.
Diffstat (limited to 'messaging')
-rw-r--r--messaging/rabbitmq_binding.py24
1 files changed, 22 insertions, 2 deletions
diff --git a/messaging/rabbitmq_binding.py b/messaging/rabbitmq_binding.py
index 731e52ba..2d34f0c7 100644
--- a/messaging/rabbitmq_binding.py
+++ b/messaging/rabbitmq_binding.py
@@ -1,9 +1,29 @@
#!/usr/bin/python
+# -*- coding: utf-8 -*-
+
+# (c) 2015, Manuel Sousa <manuel.sousa@gmail.com>
+#
+# This file is part of Ansible
+#
+# Ansible is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# Ansible is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
+#
DOCUMENTATION = '''
+---
module: rabbitmq_binding
author: Manuel Sousa
-version_added: 2.0
+version_added: "2.0"
short_description: This module manages rabbitMQ bindings
description:
@@ -89,7 +109,7 @@ def main():
state = dict(default='present', choices=['present', 'absent'], type='str'),
name = dict(required=True, aliases=[ "src", "source" ], type='str'),
login_user = dict(default='guest', type='str'),
- login_password = dict(default='guest', type='str'),
+ login_password = dict(default='guest', type='str', no_log=True),
login_host = dict(default='localhost', type='str'),
login_port = dict(default='15672', type='str'),
vhost = dict(default='/', type='str'),