From 6b13c93e4a340b587e75a09e4335c0aff28e47f1 Mon Sep 17 00:00:00 2001 From: Kourosh Vivan Date: Thu, 26 Oct 2017 13:10:02 +0200 Subject: [PATCH] Fix mgmt network creation tasks API call should be done only one time when more than one container is present Change-Id: Ic16476eb211695d18c5c55c92046848e7eb55681 --- tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/main.yml b/tasks/main.yml index 3160dc37..45cfea21 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -55,6 +55,7 @@ - include: octavia_mgmt_network.yml when: + - inventory_hostname == groups['octavia_all'][0] - octavia_neutron_management_network_uuid is not defined - octavia_neutron_management_network_name is defined tags: