12 lines
393 B
YAML
12 lines
393 B
YAML
---
|
|
- name: set fact collectd_container
|
|
import_playbook: pre-collectd.yml
|
|
|
|
- name: Run containerized collectd (Stein and greater recommended)
|
|
import_playbook: stop-collectd-container.yml
|
|
when: hostvars['undercloud']['collectd_container']
|
|
|
|
- name: Run collectd installed through RPMs
|
|
import_playbook: stop-collectd-baremetal.yml
|
|
when: not hostvars['undercloud']['collectd_container']
|