Executable must be shells attribute, not tasks

Change-Id: I7a98108f17cae13e7d2b32d933039815d585cded
This commit is contained in:
Sagi Shnaidman 2019-05-20 15:06:41 +03:00
parent c86871ab45
commit aeef3e26ee

View File

@ -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: