From aeef3e26ee1679607caf5750ba4d19fb5d41ea02 Mon Sep 17 00:00:00 2001 From: Sagi Shnaidman Date: Mon, 20 May 2019 15:06:41 +0300 Subject: [PATCH] Executable must be shells attribute, not tasks Change-Id: I7a98108f17cae13e7d2b32d933039815d585cded --- roles/validate-perf/tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/validate-perf/tasks/main.yml b/roles/validate-perf/tasks/main.yml index e3e2bc7d9..42d260e2e 100644 --- a/roles/validate-perf/tasks/main.yml +++ b/roles/validate-perf/tasks/main.yml @@ -12,17 +12,17 @@ state: directory mode: 0777 - name: Run dstat for collecting metrics on overcloud - shell: - cmd: > + shell: > dstat -{{ dstat_options }} --nocolor --output /var/log/extra/{{ dstat_log_name }} {{ dstat_delay }} > /dev/null & + args: + executable: /bin/bash async: 1 poll: 0 - executable: /bin/bash changed_when: false rescue: - debug: