850c50eed5
Change-Id: I2368b94e30e091a3f522f98020d635aaf3d76ccd
36 lines
819 B
YAML
36 lines
819 B
YAML
---
|
|
#
|
|
# Nova handlers for browbeat install connmon
|
|
#
|
|
|
|
- name: unmanage nova services
|
|
command: pcs resource unmanage {{ item }}
|
|
with_items:
|
|
- openstack-nova-api
|
|
- openstack-nova-scheduler
|
|
- openstack-nova-conductor
|
|
ignore_errors: true
|
|
|
|
- name: restart nova services
|
|
service: name={{ item }} state=restarted
|
|
with_items:
|
|
- openstack-nova-api
|
|
- openstack-nova-scheduler
|
|
- openstack-nova-conductor
|
|
|
|
- name: manage nova services
|
|
command: pcs resource manage {{ item }}
|
|
with_items:
|
|
- openstack-nova-api
|
|
- openstack-nova-scheduler
|
|
- openstack-nova-conductor
|
|
ignore_errors: true
|
|
|
|
- name: cleanup nova services
|
|
command: pcs resource cleanup {{ item }}
|
|
with_items:
|
|
- openstack-nova-api
|
|
- openstack-nova-scheduler
|
|
- openstack-nova-conductor
|
|
ignore_errors: true
|