Fix invalid invocation of the shell command

The 'executable' argument is an argument of the shell command, not
of a task.

Change-Id: I759d1c5f4faf00dcb81dee1296ddc4cd5c6d2986
This commit is contained in:
Dmitry Tantsur 2020-10-30 10:57:09 +01:00
parent 4fa0822dc2
commit e211e66a95
1 changed files with 2 additions and 1 deletions

View File

@ -34,7 +34,8 @@
shell: |
set -o pipefail
losetup "{{ stored_value_loopback_beta.stdout }}" /dev/mapper/$(echo "{{ stored_value_loopback_alpha.stdout }}" | cut -f3 -d '/')p1
executable: /bin/bash
args:
executable: /bin/bash
# TODO parameterize folder name/location
- name: "Ensure we have a location to mount the disk to"
file: path=/mnt/bootimg state=directory