
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
12 lines
256 B
YAML
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
|