Merge "remove dstat from the virthost"
This commit is contained in:
commit
72db7cfe75
|
@ -98,25 +98,6 @@
|
||||||
with_items: "{{ networks }}"
|
with_items: "{{ networks }}"
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: install the latest version of dstat on virthost
|
|
||||||
package:
|
|
||||||
name: dstat
|
|
||||||
state: present
|
|
||||||
become: true
|
|
||||||
|
|
||||||
- name: Prepare directory with extra logs
|
|
||||||
file: dest=/var/log/extra state=directory
|
|
||||||
become: true
|
|
||||||
|
|
||||||
- name: Run dstat for collecting metrics during 2 hours on virthost
|
|
||||||
command: >
|
|
||||||
dstat -tcmndrylpg --nocolor --output /var/log/extra/dstat-csv.log 1 7200 \
|
|
||||||
>/dev/null
|
|
||||||
async: 7200
|
|
||||||
poll: 0
|
|
||||||
become: true
|
|
||||||
changed_when: false
|
|
||||||
|
|
||||||
# We're going to want to store things in `working_dir` so ensure it
|
# We're going to want to store things in `working_dir` so ensure it
|
||||||
# exists first. `working_dir` is a directory on the target host.
|
# exists first. `working_dir` is a directory on the target host.
|
||||||
- name: Ensure remote working dir exists
|
- name: Ensure remote working dir exists
|
||||||
|
|
Loading…
Reference in New Issue