17 lines
596 B
YAML
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
|