diff options
| author | Peter Robinson <pbrobinson@fedoraproject.org> | 2017-04-13 19:01:31 +0000 |
|---|---|---|
| committer | Peter Robinson <pbrobinson@fedoraproject.org> | 2017-04-13 19:01:31 +0000 |
| commit | 5bda47cc10a5f20207262b5005cff011201bd702 (patch) | |
| tree | fcf3738ba6531e8042720198e3df1cd3fb550452 /tasks | |
| parent | a046a6f8e0f9bbdfe46f64ef9474678295e3bee2 (diff) | |
| download | ansible-5bda47cc10a5f20207262b5005cff011201bd702.tar.gz ansible-5bda47cc10a5f20207262b5005cff011201bd702.tar.xz ansible-5bda47cc10a5f20207262b5005cff011201bd702.zip | |
builders: some ARMv7 commands need quotes
Diffstat (limited to 'tasks')
| -rw-r--r-- | tasks/virt_instance_create.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/virt_instance_create.yml b/tasks/virt_instance_create.yml index 9da92a133..1df54f5e8 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 + 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" 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 //' + command: "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') |
