[ansible] Use collectd_config for virt and rdt 67/72667/12
authorEmma Foley <efoley@redhat.com>
Thu, 10 Jun 2021 11:04:23 +0000 (12:04 +0100)
committerEmma Foley <efoley@redhat.com>
Thu, 26 Aug 2021 20:05:50 +0000 (21:05 +0100)
commit44d5d79394e29d783a7ef73ba742052d97fad124
tree4b638f048fb97244e80d73df937ba266e1f339e8
parentdfb13929a9b878c0d41b88b53c62ff56fe8b6856
[ansible] Use collectd_config for virt and rdt

Only one of virt and intel_rdt can be enabled at a time, and the
existing checks are based on the existance of a {rdt,virt}.conf file to
determine whether the other plugin is enabled.
This check needed updating, and is now based on whether the other plugin
is in the collectd_plugins value.

Signed-off-by: Emma Foley <efoley@redhat.com>
Change-Id: I175d60111bf133965e1ecbf3764cb12a25356576
docker/ansible/roles/config_files/tasks/rdt.yml
docker/ansible/roles/config_files/tasks/virt.yml
docker/ansible/roles/config_files/templates/rdt.conf.j2 [deleted file]
docker/ansible/roles/config_files/templates/virt.conf.j2 [deleted file]
docker/ansible/roles/config_files/vars/main.yml