browbeat/ansible/install/pre-collectd.yml
Asma Syed Hameed a7a49f4abc 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
2020-11-19 10:45:53 +05:30

11 lines
291 B
YAML

---
- 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