ansible-collections / community.rabbitmq

Manage RabbitMQ with Ansible
http://galaxy.ansible.com/community/rabbitmq
Other
30 stars 46 forks source link

Support all option in rabbitmq_feature_flag module #169

Open jovial opened 5 months ago

jovial commented 5 months ago
SUMMARY

Currently you can't do:

- name: Enable all feature flags on 'rabbit@node-1'
  community.rabbitmq.rabbitmq_feature_flag:
    name: all
    node: rabbit@node-1

As shown here:

https://www.rabbitmq.com/docs/upgrade#enable-required-feature-flags-before-attempting-the-upgrade

Since we check for the current state of the 'all' feature and this comes back as unavailable. It would be nice if we special cased the all feature to not perform this check.

ISSUE TYPE
COMPONENT NAME

rabbitmq_feature_flag module

ADDITIONAL INFORMATION
niklasweimann commented 4 months ago

I also would like to see this feature in the collection 🚀