5c263fb437
Avoids runtime warnings from use of Ansible shell/command module when executed commands also have ansible modules. Change-Id: I4e415cbd34f0f4cb15857051bf95458e0316de86
18 lines
311 B
YAML
18 lines
311 B
YAML
- hosts: all
|
|
roles:
|
|
- ensure-dstat-graph
|
|
- run-dstat
|
|
|
|
# Simulate workload
|
|
- hosts: all
|
|
tasks:
|
|
# Not using ansible pause module on purpose in order to simulate the load
|
|
- name: Simulate workload
|
|
command: sleep 10
|
|
args:
|
|
warn: false
|
|
|
|
- hosts: all
|
|
roles:
|
|
- dstat-graph
|