[ansible] Use collectd_config in config_files role 65/72665/3
authorEmma Foley <efoley@redhat.com>
Wed, 9 Jun 2021 19:22:28 +0000 (20:22 +0100)
committerEmma Foley <efoley@redhat.com>
Thu, 17 Jun 2021 12:24:04 +0000 (12:24 +0000)
commitf47bd2019a95c665ace84a879b024a6c93aff031
treec86dcfc734849d8d18f064dc02c33155a5ac0c2f
parent0b13b508203283a5f69f9c89217fb3cf4f6c1a1e
[ansible] Use collectd_config in config_files role

* Add tasks to use collectd_config
* Move generated configs to combine with existing and additional configs
* Move vars to defaults dir
  Some of the vars are needed for the collectd_config role, and need to
  be set before the other values are set.

JIRA: BAROMETER-180
Signed-off-by: Emma Foley <efoley@redhat.com>
Change-Id: Id5a8b8289c5e120eae7eb5bcf946c5d4dd9fdd48
docker/ansible/roles/config_files/defaults/main.yml [new file with mode: 0644]
docker/ansible/roles/config_files/tasks/main.yml
docker/ansible/roles/config_files/vars/main.yml
docker/ansible/roles/run_collectd/tasks/main.yml