Use service_name variable when defined in neutron role
service_name variable is defined in tasks but not used everywhere. Change-Id: I67a95f49d277cf004338a9c184e7be70608714b7
This commit is contained in:
parent
b240656848
commit
cbe374ce30
@ -223,7 +223,7 @@
|
||||
- name: Copying over lbaas_agent.ini
|
||||
vars:
|
||||
service_name: "neutron-lbaas-agent"
|
||||
neutron_lbaas_agent: "{{ neutron_services['neutron-lbaas-agent'] }}"
|
||||
neutron_lbaas_agent: "{{ neutron_services[service_name] }}"
|
||||
merge_configs:
|
||||
sources:
|
||||
- "{{ role_path }}/templates/lbaas_agent.ini.j2"
|
||||
@ -239,7 +239,7 @@
|
||||
- name: Copying over vpnaas_agent.ini
|
||||
vars:
|
||||
service_name: "neutron-vpnaas-agent"
|
||||
neutron_vpnaas_agent: "{{ neutron_services['neutron-vpnaas-agent'] }}"
|
||||
neutron_vpnaas_agent: "{{ neutron_services[service_name] }}"
|
||||
merge_configs:
|
||||
sources:
|
||||
- "{{ role_path }}/templates/vpnaas_agent.ini.j2"
|
||||
@ -255,7 +255,7 @@
|
||||
- name: Copying over bgp_dragent.ini
|
||||
vars:
|
||||
service_name: "neutron-bgp-dragent"
|
||||
neutron_bgp_dragent: "{{ neutron_services['neutron-bgp-dragent'] }}"
|
||||
neutron_bgp_dragent: "{{ neutron_services[service_name] }}"
|
||||
merge_configs:
|
||||
sources:
|
||||
- "{{ role_path }}/templates/bgp_dragent.ini.j2"
|
||||
|
Loading…
Reference in New Issue
Block a user