blob: 3024dcf103d673e754a9db73e6fdea13c06d73a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
---
- name: restart neutron-server
service: name=neutron-server state=restarted enabled=yes
when: inventory_hostname in groups['odl']
- name: add service daemon
shell: >
echo keepalived >> /opt/service ;
echo neutron-server >> /opt/service ;
when: inventory_hostname in groups['odl']
- name: restart neutron-l3-agent server
service: name=neutron-l3-agent state=restarted
when: inventory_hostname in groups['odl'] and odl_l3_agent == "Disable"
- name: restart neutron-dhcp-agent server
service: name=neutron-dhcp-agent state=restarted
when: inventory_hostname in groups['odl']
- name: restart neutron-metadata-agent server
service: name=neutron-metadata-agent state=restarted
when: inventory_hostname in groups['odl']
|