Xicheng Chang 70360bca6a Changed ansible code structure.
Moved roles to the parent directory
so that different adapters don't have
duplicated roles in their respective
paths.

Change-Id: Ia71c473b33fed94276d4d0b4764b2f4ab2e988e0
2015-05-21 20:30:15 -07:00

25 lines
641 B
YAML

---
- name: restart nova-api
service: name=nova-api state=restarted
- name: restart nova-cert
service: name=nova-cert state=restarted
- name: restart nova-consoleauth
service: name=nova-consoleauth state=restarted
- name: restart nova-scheduler
service: name=nova-scheduler state=restarted
- name: restart nova-conductor
service: name=nova-conductor state=restarted
- name: restart nova-novncproxy
service: name=nova-novncproxy state=restarted
- name: remove nova-sqlite-db
shell: rm /var/lib/nova/nova.sqlite || touch nova.sqlite.db.removed
- name: restart neutron-server
service: name=neutron-server state=restarted