aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ansible/inventory/multinode2
-rw-r--r--ansible/roles/neutron/tasks/config.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/ansible/inventory/multinode b/ansible/inventory/multinode
index cc643be11..63b9af66f 100644
--- a/ansible/inventory/multinode
+++ b/ansible/inventory/multinode
@@ -104,7 +104,7 @@ nova
# Neutron
[neutron-server:children]
-neutron
+control
[neutron-agents:children]
neutron
diff --git a/ansible/roles/neutron/tasks/config.yml b/ansible/roles/neutron/tasks/config.yml
index e7cc7b191..080ee7dd4 100644
--- a/ansible/roles/neutron/tasks/config.yml
+++ b/ansible/roles/neutron/tasks/config.yml
@@ -141,7 +141,7 @@
template:
src: "roles/neutron/templates/neutron-agents.json.j2"
dest: "{{ node_config_directory }}/neutron-agents/config.json"
- when: inventory_hostname in groups['neutron-server']
+ when: inventory_hostname in groups['neutron-agents']
- name: Copying Neutron Server JSON configuration file
template: