X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=docker%2Fansible%2Froles%2Fconfig_files%2Ftasks%2Fkafka.yml;fp=docker%2Fansible%2Froles%2Fconfig_files%2Ftasks%2Fkafka.yml;h=6fb3f05069223687ae57f93b26f8f6dc8c77e48c;hb=dfb13929a9b878c0d41b88b53c62ff56fe8b6856;hp=d7639cbf5d72aef173d6c34b8b3052d31eb250e9;hpb=720f19cbcb2c03140d1359c11c78b6a1c34cb4d0;p=barometer.git diff --git a/docker/ansible/roles/config_files/tasks/kafka.yml b/docker/ansible/roles/config_files/tasks/kafka.yml index d7639cbf..6fb3f050 100644 --- a/docker/ansible/roles/config_files/tasks/kafka.yml +++ b/docker/ansible/roles/config_files/tasks/kafka.yml @@ -1,4 +1,4 @@ -#Copyright 2018 OPNFV and Intel Corporation +# Copyright 2018-21 Anuket, Intel Corporation and others # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,9 +13,8 @@ # limitations under the License. --- -- name: enable kafka plugin - template: - src: kafka.conf.j2 - dest: "{{ config_file_dir }}/kafka.conf" +- name: enable kafka plugin with collectd_config + set_fact: + collectd_plugins: "{{ collectd_plugins | union(['write_kafka']) | unique }}" tags: - kafka