zuul-jobs/test-playbooks/dstat-graph.yaml
Sorin Sbarnea 5c263fb437 test-playbooks: avoid warnings with shell/command
Avoids runtime warnings from use of Ansible shell/command module when
executed commands also have ansible modules.

Change-Id: I4e415cbd34f0f4cb15857051bf95458e0316de86
2020-06-04 18:54:37 +01:00

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