From fe7570cc3355c974b5c0f102ee87d2dc783d95fa Mon Sep 17 00:00:00 2001 From: Jacob Cody Wimer Date: Fri, 11 May 2018 11:06:54 -0400 Subject: [PATCH] Skip things not needed for machines already created --- playbooks/kvm.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/playbooks/kvm.yml b/playbooks/kvm.yml index 03b3327..f76096e 100644 --- a/playbooks/kvm.yml +++ b/playbooks/kvm.yml @@ -25,6 +25,8 @@ - name: Wait 10 seconds for proxmox to register the new node wait_for: timeout=10 delegate_to: localhost + when: cloned.changed + - name: Set resources delegate_to: localhost @@ -64,3 +66,4 @@ wait_for_connection: delay: 60 timeout: 180 + when: cloned.changed