aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Dake <stdake@cisco.com>2016-03-31 04:04:27 -0400
committerGanesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>2016-04-01 10:13:31 -0700
commit0bba5fe0007b281c0a2ee75e4f1c9f3950413e6f (patch)
treedc0d93bb2013271e2e69350eab616ce3e4dae92d
parent3a028e433452eff21f6337da4bb7e29dcf6e117b (diff)
downloadkolla-0bba5fe0007b281c0a2ee75e4f1c9f3950413e6f.tar.gz
kolla-0bba5fe0007b281c0a2ee75e4f1c9f3950413e6f.zip
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 <stdake@cisco.com> Co-Authored-By: Vikram Hosakote <vhosakot@cisco.com> Co-Authored-By: Nate Potter <nathaniel.potter@intel.com> Co-Authored-By: Ganesh Mahalingam <ganesh.mahalingam@intel.com> Change-Id: Ia712b323aa9d750d470a11ee899ab1b3054a903f Partial-Bug: #1546789
-rw-r--r--ansible/site.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/ansible/site.yml b/ansible/site.yml
index ed66ece4a..14f88aa8c 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: