zuul-jobs/roles/run-dstat/tasks/main.yaml
James E. Blair f618a471fc Include filesystem stats in dstat
This counts the open file handles and inodes.  This may be useful
(after establishing a baseline) for evaluating ulimit errors.

Change-Id: I6d5c67d7c5c03d4aa7cd88b2238163cc729d9782
2024-09-25 09:53:08 -07:00

16 lines
552 B
YAML

- name: Execute distro-specific tasks
include_tasks: "{{ zj_distro_os }}"
with_first_found:
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
- "{{ ansible_distribution }}.yaml"
- "{{ ansible_os_family }}.yaml"
- "default.yaml"
loop_control:
loop_var: zj_distro_os
- name: Run dstat
shell: "dstat -tcmndrylpg --tcp --fs --output {{ dstat_data_path }} >& /dev/null &"
args:
executable: /bin/bash
failed_when: false