Allow configuration of rabbitmq plugins
The rabbitmq_plugins variable was mentioned as a loop item but was not actually being used within the task to enable the management plugin. It can now be overridden to enable or disable any RabbitMQ plugins. Change-Id: I35f82427be464c811ee098ef676825aaa1e05d8d Related-Bug: 1617431
This commit is contained in:
parent
dbcd0986a3
commit
c1a97ab6b2
@ -48,9 +48,9 @@ rabbitmq_cluster_partition_handling: pause_minority
|
||||
# Rabbitmq open file limits
|
||||
rabbitmq_ulimit: 4096
|
||||
|
||||
# Enable the management plugin in rabbitmq
|
||||
# Configure rabbitmq plugins
|
||||
rabbitmq_plugins:
|
||||
- names: rabbitmq_management
|
||||
- name: rabbitmq_management
|
||||
state: enabled
|
||||
|
||||
# RabbitMQ SSL support
|
||||
|
@ -13,10 +13,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- name: Enable management plugin
|
||||
- name: Configure rabbitmq plugins
|
||||
rabbitmq_plugin:
|
||||
names: rabbitmq_management
|
||||
state: enabled
|
||||
names: "{{ item.name }}"
|
||||
state: "{{ item.state }}"
|
||||
with_items: "{{ rabbitmq_plugins }}"
|
||||
register: rabbitmq_plugin
|
||||
tags:
|
||||
|
Loading…
x
Reference in New Issue
Block a user