Commit Graph

82 Commits (514e285d1af7e10252e657c9497816e90d86475f)

Author SHA1 Message Date
Ilya Zonov 883ccbefe5 Fix rabbitmq parameter changed check (#2237)
This commit fixes following issue: "Changed" flag is always true when
var is used for value module param.
9 years ago
Paul Durivage ca61b2dd9d fix command list to extend, not append 9 years ago
Maxime Montinet 77eee2b6ca rabbitmq_user: Properly initialize _permissions (#2163)
Fixes #2162
9 years ago
Adam Romanek e8391d6985 Fixed #237 - improved embedded JSON support handling (#1530) 9 years ago
Michael Scherer 84ca3ba7ee Do not use a default value for -n parameter, fix #1400 (#1417) 9 years ago
Brad Wilson 0af9622891 Issue #1668: rabbitmq_user: Ansible HEAD incorrectly treats permissions as a string instead of a list 9 years ago
Brian Coca 7c50f4cc8f Merge pull request #831 from viruxel/devel
Enable managing multiple user permissions from one shot
9 years ago
Brian Coca 6dfad7d157 Merge pull request #923 from mliudev/fix-rabbitmq_user-list_users
Check that the current output from 'list_users' command contains a '\t'.
9 years ago
Marian Rusu 09268b1a48 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>
9 years ago
Brian Coca 7f40f46573 added version_added 9 years ago
Brian Coca c18c5a793c Merge pull request #1234 from bradwilson/devel
Add apply_to option to rabbitmq_policy
9 years ago
Michael Scherer 2f3dc1352f Replace choices=BOOLEANS by type='bool', fix #1326 9 years ago
Brad Wilson 3177e9eaf0 Add apply_to option to rabbitmq_policy 9 years ago
Caduri 2a7b835f77 [Bug] exchange name contains chars that needs to be quoted 9 years ago
Caduri d96ca9c8ec [Bug] exchange name contains chars that needs to be quoted 9 years ago
Mike Liu ae7f7c2c64 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.
9 years ago
Björn Andersson c02e4195cf 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.
```
9 years ago
Luiz Felipe G. Pereira 8a5b597676 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
9 years ago
Brian Coca 1dce0334cf Merge pull request #133 from pcarinhas/devel
Fix rabbitmq_plugin.py: broken prefix path
9 years ago
Greg DeKoenigsberg 004dedba8a Changes to author formatting, remove emails 10 years ago
Brian Coca 20bf6d825e Merge pull request #503 from manuel-sousa/rabbitmq_exchange
Added missing default values
10 years ago
Brian Coca ed0d3b94b3 Merge pull request #502 from manuel-sousa/rabbitmq_queue
Add missing defaults
10 years ago
Brian Coca 3f7d9fd168 Merge pull request #501 from manuel-sousa/rabbitmq_binding
Added missing default
10 years ago
Rene Moser f2b085d015 rabbitmq; update author for new rabbitmq modules 10 years ago
Manuel Sousa b30f112e57 Add missing defaults 10 years ago
Manuel Sousa a35dd87263 Added missing default 10 years ago
Manuel Sousa e981275884 Added missing default values 10 years ago
Brian Coca 8147103da9 Merge pull request #464 from manuel-sousa/rabbitmq_binding
Rabbitmq binding
10 years ago
Brian Coca cbe32cd600 Merge pull request #463 from manuel-sousa/rabbitmq_exchange
Rabbitmq exchange
10 years ago
Brian Coca f22c1d4542 Merge pull request #462 from manuel-sousa/rabbitmq_queue
Rabbitmq queue
10 years ago
Manuel Sousa 83e195578b Change variables from camel case to underscore 10 years ago
Manuel Sousa 709817bf19 Missed variable exchangeExists -> exchange_exists 10 years ago
Manuel Sousa 46eedaf368 Change variables from camel case to underscore 10 years ago
Manuel Sousa abab60208d Change variables from camel case to underscore 10 years ago
Manuel Sousa c7fe644c70 Make compatible with python 2.4
Removed one line if else
10 years ago
Brian Coca 08445418aa more string corrections 10 years ago
Manuel Sousa 6354e835d1 Removed leftovers from testing the module 10 years ago
Manuel Sousa 4882f2bbbe Make compatible with python
Removed one line if else
10 years ago
Manuel Sousa 112f4262f1 Make compatible with python 2.4
Removed one line if else
10 years ago
Manuel Sousa 2fa269b019 Added GPL license + Don't log password
Implemented resmo suggestions.
10 years ago
Manuel Sousa 180fb13b28 Added GPL license + Don't log password
Implemented resmo suggestions.
10 years ago
Manuel Sousa 3f2c4426ae Added GPL license + Don't log password
Implemented resmo suggestions.
10 years ago
Greg DeKoenigsberg 2f9f6cc28e Adding author's github id 10 years ago
Greg DeKoenigsberg 994ea305a8 Adding author's github id 10 years ago
Greg DeKoenigsberg db14acbb54 Adding author's github id 10 years ago
Greg DeKoenigsberg c94776fa36 Adding author's github id 10 years ago
Greg DeKoenigsberg 9259ff62dd Adding author's github id 10 years ago
Manuel Sousa e87422ee96 Change version and remove result="success" 10 years ago
Manuel Sousa 4843e06fcd Change version and remove result="success" 10 years ago
Manuel Sousa 4ea269f0ba Change version and remove result="success" 10 years ago