From e211e66a9518f3dea5e10eb6358c75b0e470cbfe Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Fri, 30 Oct 2020 10:57:09 +0100 Subject: [PATCH] Fix invalid invocation of the shell command The 'executable' argument is an argument of the shell command, not of a task. Change-Id: I759d1c5f4faf00dcb81dee1296ddc4cd5c6d2986 --- .../tasks/create_bootable_image.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/playbooks/roles/bifrost-create-bootable-image/tasks/create_bootable_image.yml b/playbooks/roles/bifrost-create-bootable-image/tasks/create_bootable_image.yml index 73e245885..a3704119d 100644 --- a/playbooks/roles/bifrost-create-bootable-image/tasks/create_bootable_image.yml +++ b/playbooks/roles/bifrost-create-bootable-image/tasks/create_bootable_image.yml @@ -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