Commit Graph

8 Commits (6c07f42b8d1761f7ec002900e22a774c317b0c65)

Author SHA1 Message Date
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
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
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 5879c503bb File extensions! 2016-12-08 11:32:18 -05:00