browbeat/ansible/install/stop-collectd.yml
Masco 0381444f2c fix metrics start stop and cron job PATH
Change-Id: I19cbc50c40dd37f177974e70051fc43745c720a0
2024-10-15 12:41:10 +05:30

17 lines
596 B
YAML

---
- name: set fact collectd_container
import_playbook: pre-collectd.yml
when: not is_rhoso_deployment
- name: Run containerized collectd (Stein and greater recommended)
import_playbook: stop-collectd-container.yml
when: hostvars['undercloud']['collectd_container'] and not is_rhoso_deployment
- name: Run collectd installed through RPMs
import_playbook: stop-collectd-baremetal.yml
when: not hostvars['undercloud']['collectd_container'] and not is_rhoso_deployment
- name: stop collectd on RHOSO ocp workers
import_playbook: stop-collectd-rhoso.yml
when: is_rhoso_deployment