-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a module to manage operator policies #49
Add a module to manage operator policies #49
Comments
Hello, |
Of course, all contributions are welcome! |
@baptistedaroit Are you already working on a PR? We need this as well, and I am thinking about implementing as Python module this instead of doing it manually via |
Hello @weisslj, Sorry for the delay! I implemented a module but I didn't actually raise a PR about it. I will try to do it in the following weeks. |
Hi @baptistedaroit, |
Hi @baptistedaroit, |
@baptistedaroit are you still intending to push this PR? |
Hello, Rather than creating a new module, would it make sense to add a new
If so, the change become trivial and I happily raise a PR for it this week. To keep backward compatibility, it would be best to not require the option and default to "policy" ( Kind regards |
This commit add support for rabbitmq *operator* policy. An Example have been added to the inline documentation. Related to ansible-collections#49
This commit add support for rabbitmq *operator* policy. An Example have been added to the inline documentation. Related to ansible-collections#49
This commit add support for rabbitmq *operator* policy. An Example have been added to the inline documentation. Related to ansible-collections#49
SUMMARY
The rabbitmq_policy module currently supports the management of "standard" policies for RabbitMQ. Nevertheless, it does not allow to manage operator policies .
ISSUE TYPE
COMPONENT NAME
rabbitmq_operator_policy
ADDITIONAL INFORMATION
This new module would allow to manage RabbitMQ operator policies (enforced policies set by administrators that cannot be overwritten by standard users).
Moreover, the two rabbitmqctl commands are quite similar, as you can see from the usage manual:
So I think we can rely on the existing rabbitmq_policy module to build one for operator policies.
It can be used to set a maximum message TTL on a specific vhost, on which you don't want to allow message retention, for example.
The text was updated successfully, but these errors were encountered: