zuul-jobs/test-playbooks/dstat-graph.yaml
Ian Wienand a016a1a565 linters: standardise on newline at end of file
I noticed this by accident when I ran ansible-lint over this repo from
an outside context; it didn't use the .yamllint in here and started
compalining about eof whitespace.

After scratching my head for a bit as to why this didn't fail here, I
realised we've allowed various newlines since the initial commit
I936fe2c997597972d884c5fc62655d28e8aaf8c5.

Remove this and just use the default eof rules, and fixup the
whitespace as required.  This is fairly unimportant, but is nice for
consistency.

Change-Id: Idb46a1f39ba798b0bf70eaa27b4c6b4758ce3d26
2022-07-28 16:19:06 +10:00

22 lines
425 B
YAML

- hosts: all
roles:
- role: ensure-dstat-graph
vars:
dstat_graph_cache_ignore: true
- 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:
- role: dstat-graph
vars:
dstat_graph_cache_ignore: true