summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Robinson <pbrobinson@fedoraproject.org>2017-04-13 19:17:57 +0000
committerPeter Robinson <pbrobinson@fedoraproject.org>2017-04-13 19:17:57 +0000
commitb18c9881b66cd49b4a4541f0f450ab5dd57ebf05 (patch)
tree3635d503bcfc4b74bd64c212bae16e01830bf618
parent5bda47cc10a5f20207262b5005cff011201bd702 (diff)
downloadansible-b18c9881b66cd49b4a4541f0f450ab5dd57ebf05.tar.gz
ansible-b18c9881b66cd49b4a4541f0f450ab5dd57ebf05.tar.xz
ansible-b18c9881b66cd49b4a4541f0f450ab5dd57ebf05.zip
builders: some ARMv7 bits need shell, not command
-rw-r--r--tasks/virt_instance_create.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/virt_instance_create.yml b/tasks/virt_instance_create.yml
index 1df54f5e8..357c08ee8 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')