From b60bc3b20c5e76b2d1ff86723dfdffa230bbef86 Mon Sep 17 00:00:00 2001 From: Johan Guldmyr Date: Tue, 17 Nov 2015 09:16:13 +0200 Subject: [PATCH 1/3] EL7 to meta file and fix password setting - before it used the user field to set the password on the user --- meta/main.yml | 1 + tasks/main.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/main.yml b/meta/main.yml index b9e14e3..6c54d52 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -9,6 +9,7 @@ galaxy_info: - name: EL versions: - 6 + - 7 categories: - monitoring - networking diff --git a/tasks/main.yaml b/tasks/main.yaml index 5ba1969..5f43d09 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -46,7 +46,7 @@ - name: Manage RabbitMQ users rabbitmq_user: user: "{{ item.user }}" - password: "{{ item.user | default('') }}" + password: "{{ item.password | default('') }}" vhost: "{{ item.vhost | default('/') }}" tags: "{{ item.tags | default([]) | join(',') }}" configure_priv: "{{ item.configure_priv | default('^$') }}" From 824a3c65279b10f84a4d2477c1375decd27dee3f Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Aubort Date: Mon, 21 Dec 2015 14:32:34 +0100 Subject: [PATCH 2/3] Fix typo for policy configuration --- tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yaml b/tasks/main.yaml index 5f43d09..b74e73a 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -63,7 +63,7 @@ node: "{{ item.node | default('rabbit') }}" pattern: "{{ item.pattern | default('^$') }}" priority: "{{ item.priority | default(1) }}" - state: "{{ item.tags | default('present') }}" + state: "{{ item.state | default('present') }}" tags: "{{ item.tags | default('') }}" vhost: "{{ item.vhost | default('/') }}" with_items: rabbitmq_policies From cebabbf87a9b7dc4b2a625458a227423eabd3bad Mon Sep 17 00:00:00 2001 From: Tony Edgin Date: Thu, 8 Oct 2015 15:20:24 -0700 Subject: [PATCH 3/3] corrected policy default priority According to https://www.rabbitmq.com/man/rabbitmqctl.1.man.html#Policy%20Management, the default priority of a policy is 0. --- tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yaml b/tasks/main.yaml index b74e73a..29f900f 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -62,7 +62,7 @@ name: "{{ item.name }}" node: "{{ item.node | default('rabbit') }}" pattern: "{{ item.pattern | default('^$') }}" - priority: "{{ item.priority | default(1) }}" + priority: "{{ item.priority | default(0) }}" state: "{{ item.state | default('present') }}" tags: "{{ item.tags | default('') }}" vhost: "{{ item.vhost | default('/') }}"