Fix tags in collectd

ansible-playbook -i hosts install/collectd.yml --tags="undercloud"
ansible-playbook -i hosts install/collectd.yml --tags="controller"
ansible-playbook -i hosts install/collectd.yml --tags="compute"

Change-Id: Iaf35fea1a773245639b3ce32d1371ed68e7cfaab
This commit is contained in:
Asma Syed Hameed
2020-11-19 10:45:47 +05:30
parent 28a42fbe19
commit a7a49f4abc

View File

@@ -2,7 +2,9 @@
- hosts: undercloud
roles:
- { role: osp_version }
tags: undercloud, controller, compute
tasks:
- name: set fact collectd_container
set_fact:
collectd_container: "{{ (rhosp_major|int > 14)| ternary(true, false) }}"
tags: undercloud, controller, compute