From 377afa042d664a7214c11067fc6c849e1a4bc54a Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 13 Oct 2016 22:19:46 +0000 Subject: [PATCH] see if this syntax change makes ansible 2.2 happy --- roles/beaker/virthost/tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/beaker/virthost/tasks/main.yml b/roles/beaker/virthost/tasks/main.yml index 8cf1b00430..6211926299 100644 --- a/roles/beaker/virthost/tasks/main.yml +++ b/roles/beaker/virthost/tasks/main.yml @@ -131,19 +131,19 @@ owner: "{{ libvirt_user }}" group: "{{ libvirt_user }}" when: item.hostname not in result.list_vms - with_items: clients + with_items: "{{ clients }}" become: true become_user: "{{ libvirt_user }}" - name: ensure the guest lvs are created lvol: lv={{ item.hostname }} vg={{ volgroup }} size={{ item.lvm_size }} state=present when: item.hostname not in result.list_vms - with_items: clients + with_items: "{{ clients }}" - name: ensure vms are defined command: "virsh define --file /home/{{ libvirt_user }}/{{ item.hostname }}.libvirt.xml" when: item.hostname not in result.list_vms - with_items: clients + with_items: "{{ clients }}" become: true become_user: "{{ libvirt_user }}"