browbeat/ansible/install/stop-collectd-rhoso.yml
Masco 67a03d5d4e add option to start and stop collectd for rhoso environment
Change-Id: Ic7f5aea595e4b8ce62bee5b3c3ddd26c41e73719
2024-08-07 16:21:08 +05:30

9 lines
250 B
YAML

- hosts: localhost
tasks:
- name: stop collectd on OCP nodes.
shell: |
oc scale -n ospperf statefulset osp-controlplane-collectd --replicas=0
environment:
KUBECONFIG: "{{ kubeconfig_path }}"
ignore_errors: yes