From 8dc91eafb55297e93bc9b59058e118ceda587c35 Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Thu, 31 Mar 2016 04:04:27 -0400 Subject: [PATCH] Workaround ansible bug related to delegate_to Currently the delegate_to doesnt happen and the neutron role creation is attempted once on the first server and is skipped. The re-ordering of hosts in site.yml seems to make the first host to be one inside neutron-server group yielding the expected results. This patch needs to be re-visited as soon as a version of ansible is chosen that fixes the issues with delegate_to Co-Authored-By: Steven Dake Co-Authored-By: Vikram Hosakote Co-Authored-By: Nate Potter Co-Authored-By: Ganesh Mahalingam Change-Id: Ia712b323aa9d750d470a11ee899ab1b3054a903f Partial-Bug: #1546789 (cherry picked from commit 0bba5fe0007b281c0a2ee75e4f1c9f3950413e6f) --- ansible/site.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ansible/site.yml b/ansible/site.yml index c225c9452e..311c2329ce 100644 --- a/ansible/site.yml +++ b/ansible/site.yml @@ -104,12 +104,12 @@ when: enable_nova | bool } - hosts: - - compute - - manila-share + - neutron-server - neutron-dhcp-agent - neutron-l3-agent - neutron-metadata-agent - - neutron-server + - compute + - manila-share - rabbitmq - memcached roles: