From b18c9881b66cd49b4a4541f0f450ab5dd57ebf05 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Thu, 13 Apr 2017 19:17:57 +0000 Subject: [PATCH] builders: some ARMv7 bits need shell, not command --- tasks/virt_instance_create.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/virt_instance_create.yml b/tasks/virt_instance_create.yml index 1df54f5e89..357c08ee8d 100644 --- a/tasks/virt_instance_create.yml +++ b/tasks/virt_instance_create.yml @@ -28,12 +28,12 @@ when: inventory_hostname not in result.list_vms - name: ARMv7 copy the kernel out - command: "virt-builder --get-kernel {{ volgroup }}/{{ inventory_hostname }} --output /var/lib/libvirt/images/ | awk -F/ '{print $NF}' > /var/lib/libvirt/images/{{ inventory_hostname }}-details.txt" + shell: "virt-builder --get-kernel {{ volgroup }}/{{ inventory_hostname }} --output /var/lib/libvirt/images/ | awk -F/ '{print $NF}' > /var/lib/libvirt/images/{{ inventory_hostname }}-details.txt" delegate_to: "{{ vmhost}}" when: inventory_hostname.startswith('buildvm-armv7') - name: ARMv7 copy the cmdline out - command: "virt-cat -a {{ volgroup }}/{{ inventory_hostname }} /boot/extlinux/extlinux.conf | grep -m1 append | sed -e 's/append //'" + shell: "virt-cat -a {{ volgroup }}/{{ inventory_hostname }} /boot/extlinux/extlinux.conf | grep -m1 append | sed -e 's/append //'" delegate_to: "{{ vmhost}}" register: host_cmdline when: inventory_hostname.startswith('buildvm-armv7')