Commit Graph

41 Commits (2858d24acb1f593dd3849ade68fc29c48fec8cee)

Author SHA1 Message Date
Manuel Sousa 73c39c3aaf rabbitmq_queue - Update requirements to show minimum version of requests (#2786) 2016-12-08 11:34:43 -05:00
Manuel Sousa d4d83fea2c rabbitmq_binding - Update requirements to show minimum version of requests (#2787) 2016-12-08 11:34:43 -05:00
Manuel Sousa f7c732ad34 rabbitmq_exchange - Update requirements to show minimum version of requests (#2785) 2016-12-08 11:34:43 -05:00
Manuel Sousa 4289354ce5 RabbitMQ-Binding - Allow empty routing key (#2674)
Fixes: #1985
2016-12-08 11:34:38 -05:00
Ilya Zonov bca2a6cb56 Fix rabbitmq parameter changed check (#2237)
This commit fixes following issue: "Changed" flag is always true when
var is used for value module param.
2016-12-08 11:34:22 -05:00
Paul Durivage 8166302d3d fix command list to extend, not append 2016-12-08 11:34:18 -05:00
Maxime Montinet 6f6927380e rabbitmq_user: Properly initialize _permissions (#2163)
Fixes #2162
2016-12-08 11:34:12 -05:00
Adam Romanek faa3c54531 Fixed #237 - improved embedded JSON support handling (#1530) 2016-12-08 11:34:07 -05:00
Michael Scherer ad54180d17 Do not use a default value for -n parameter, fix #1400 (#1417) 2016-12-08 11:34:06 -05:00
Brad Wilson 6c07f42b8d Issue #1668: rabbitmq_user: Ansible HEAD incorrectly treats permissions as a string instead of a list 2016-12-08 11:33:49 -05:00
Marian Rusu e0e45bd383 Enable managing multiple user permissions rules from one shot
One of inconvinence this address is the the fact that
you have to pass user's tags even if you just want to
add a permission rule

Signed-off-by: Marian Rusu <rusumarian91@gmail.com>
2016-12-08 11:33:47 -05:00
Mike Liu fafb89cde5 Check that the current output from 'list_users' command contains a '\t'.
The `rabbitmqctl list_users` command will list the user's last login time
which does not include `\t` character. This is causing a ValueError exception
when attempting to split a user and its tags from the command output. This
fix will check for a `\t` in the current line of the output before splitting.
2016-12-08 11:33:45 -05:00
Brian Coca fbc52c233a added version_added 2016-12-08 11:33:43 -05:00
Brad Wilson 37de6e7fd6 Add apply_to option to rabbitmq_policy 2016-12-08 11:33:43 -05:00
Michael Scherer df195b3076 Replace choices=BOOLEANS by type='bool', fix #1326 2016-12-08 11:33:40 -05:00
Caduri a364ec5483 exchange name contains chars that needs to be quoted 2016-12-08 11:33:34 -05:00
Björn Andersson 165c90e7c1 Ignore extra lines from Pivotal's RabbitMQ package
Pivotal's packaging of RabbitMQ shows a banner at the end of the plugin
listing talking about their official plugins. The start of the banner is
divided by a blank line so the changed plugin listing will now
break after the first empty line.

An example listing with the rabbitmq_management plugin enabled:

```
    $ rabbitmq-plugins list -E -m
    rabbitmq_management

    Pivotal officially maintains and supports the plugins:

      rabbitmq_auth_backend_ldap, rabbitmq_auth_mechanism_ssl,
      rabbitmq_consistent_hash_exchange, rabbitmq_federation,
      rabbitmq_federation_management, rabbitmq_jms_topic_exchange,
      rabbitmq_management, rabbitmq_management_agent,
      rabbitmq_mqtt, rabbitmq_shovel, rabbitmq_shovel_management,
      and rabbitmq_stomp.
```
2016-12-08 11:33:18 -05:00
Luiz Felipe G. Pereira 665745e2bd Fixing empty tags check
Right now even if you pass in an empty tags list to the module (either with
an empty string or null) it will erroneously think the tags list have changed
and re-apply the tags on every run
2016-12-08 11:33:12 -05:00
Philip Carinhas 5a134d406b Improve error message 2016-12-08 11:33:11 -05:00
Philip Carinhas c42b8b4ad7 Fix rabbitmq_plugin.py: broken prefix path 2016-12-08 11:33:11 -05:00
Greg DeKoenigsberg c65a612d1f Changes to author formatting, remove emails 2016-12-08 11:32:51 -05:00
Manuel Sousa 8d618fc552 Added missing default values 2016-12-08 11:32:41 -05:00
Manuel Sousa 18fc41cd24 Add missing defaults 2016-12-08 11:32:41 -05:00
Manuel Sousa 96b2504cf1 Added missing default 2016-12-08 11:32:41 -05:00
Rene Moser 488d85f30b rabbitmq; update author for new rabbitmq modules 2016-12-08 11:32:41 -05:00
Manuel Sousa 11351a1bf5 Change variables from camel case to underscore 2016-12-08 11:32:41 -05:00
Manuel Sousa 2339770d4d Make compatible with python 2.4
Removed one line if else
2016-12-08 11:32:41 -05:00
Manuel Sousa f419bf5356 Added GPL license + Don't log password
Implemented resmo suggestions.
2016-12-08 11:32:41 -05:00
Manuel Sousa f435390dde Change version and remove result="success" 2016-12-08 11:32:41 -05:00
Manuel Sousa ea40ef34c6 add module rabbitmq_binding 2016-12-08 11:32:40 -05:00
Manuel Sousa 8bcb8550e4 Missed variable exchangeExists -> exchange_exists 2016-12-08 11:32:40 -05:00
Manuel Sousa 4c301bda5c Make compatible with python
Removed one line if else
2016-12-08 11:32:40 -05:00
Manuel Sousa b5732b0011 add module rabbitmq_exchange 2016-12-08 11:32:40 -05:00
Manuel Sousa 5ee8e36ad0 Removed leftovers from testing the module 2016-12-08 11:32:40 -05:00
Manuel Sousa 5c1200e9b3 add module rabbitmq_queue 2016-12-08 11:32:40 -05:00
Brian Coca d344a3fde3 more string corrections 2016-12-08 11:32:39 -05:00
Toshio Kuratomi bc5d5b1be1 Fix typo causing SyntaxError (missing colon) 2016-12-08 11:32:23 -05:00
Anders Ingemann 465d0483eb Clear rabbitmq_user pw when none is specified 2016-12-08 11:32:23 -05:00
Michael DeHaan 7ba58f93a0 package files 2016-12-08 11:32:18 -05:00
Michael DeHaan 5879c503bb File extensions! 2016-12-08 11:32:18 -05:00
James Cammarata d4b117843a Copying snapshot of extras modules 2016-12-08 11:32:07 -05:00