From bd5b65d3429e9ac3da21ec18bbffe98d1922afa7 Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Wed, 15 Mar 2017 09:44:29 +0000 Subject: [PATCH] Allocate IPs in serial to prevent allocation race conditions --- ansible/ip-allocation.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible/ip-allocation.yml b/ansible/ip-allocation.yml index 98b9fd331..167c59b34 100644 --- a/ansible/ip-allocation.yml +++ b/ansible/ip-allocation.yml @@ -24,3 +24,5 @@ - role: ip-allocation ip_allocation_filename: "{{ kayobe_config_path }}/network-allocation.yml" ip_allocation_hostname: "{{ inventory_hostname }}" + # Use serial=1 to avoid races between allocations for different hosts. + serial: 1