community.rabbitmq
community.rabbitmq copied to clipboard
Support all option with rabbitmq_feature_flag
SUMMARY
This is useful to enable all feature flags before an upgrade, see:
- https://www.rabbitmq.com/docs/upgrade#enable-required-feature-flags-before-attempting-the-upgrade
- https://www.rabbitmq.com/docs/feature-flags#how-to-enable-feature-flags
I switched to using the json output instead of attempting to parse the tabbed output for simplicity. I also needed to include the stability field as 'all' only enables stable features. This was needed to correctly set the changed field.
Fixes: #169
ISSUE TYPE
- Feature Pull Request
COMPONENT NAME
rabbitmq_feature_flag
ADDITIONAL INFORMATION
/rebuild
@cognifloyd @odyssey4me @jgkirschbaum @Im0 Can you help in getting this reviewed? It would be very helpful for Kolla-Ansible OpenStack project (instead of running this using command)