diff options
author | Volodymyr Mytnyk <volodymyrx.mytnyk@intel.com> | 2018-12-17 08:38:40 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-12-17 08:38:40 +0000 |
commit | 686525d589afae49751fe56a2a90d67db5a70f95 (patch) | |
tree | cb697405e52b03af11303b2aeadde57410533627 /ansible/roles/configure_rabbitmq/tasks | |
parent | 97851fc3e05ef4513f65f9ca9ead95f07bcb0c99 (diff) | |
parent | 0d6c251582f2fd19980c5d73d6a412a3b8fede64 (diff) |
Merge "Update#2: Trex KPI not collected no rabbitmq user"
Diffstat (limited to 'ansible/roles/configure_rabbitmq/tasks')
-rw-r--r-- | ansible/roles/configure_rabbitmq/tasks/main.yml | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/ansible/roles/configure_rabbitmq/tasks/main.yml b/ansible/roles/configure_rabbitmq/tasks/main.yml index 4ff4222dc..3ad60c1ea 100644 --- a/ansible/roles/configure_rabbitmq/tasks/main.yml +++ b/ansible/roles/configure_rabbitmq/tasks/main.yml @@ -12,16 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. --- -- name: Create rabbitmq configuration - template: - src: rabbitmq.config.j2 - dest: /etc/rabbitmq/rabbitmq.config - -- name: Define user definitions file - template: - src: user_definitions.json.j2 - dest: /etc/rabbitmq/definitions.json - - name: Restart rabbitmq service: name: rabbitmq-server @@ -30,5 +20,11 @@ - name: rabbitmqctl start_app shell: rabbitmqctl start_app -- name: Enable management plugin - shell: rabbitmq-plugins enable rabbitmq_management +- name: Configure rabbitmq + rabbitmq_user: + user: yardstick + password: yardstick + configure_priv: .* + read_priv: .* + write_priv: .* + state: present |