James E. Blair 61d00fec6f Use pcp instead of dstand and return dstat graph artifact
Dstat is dead, but pcp supplies a compatible interface.

Installation can be unreliable, so let's ignore failures since
this isn't generally critical.

Change-Id: I9234b226242f145db9c235797649202aa530ec74
2021-10-21 15:39:54 -07:00

12 lines
256 B
YAML

- name: Install dstat
package:
name: pcp
state: present
become: true
failed_when: false
- name: Run dstat
shell: "dstat -tcmndrylpg --tcp --output {{ dstat_data_path }} >& /dev/null &"
args:
executable: /bin/bash
failed_when: false