Merge "Restart cinder-scheduler instead of reloading"

This commit is contained in:
Zuul 2018-11-05 15:52:05 +00:00 committed by Gerrit Code Review
commit 697ac82571
1 changed files with 5 additions and 5 deletions

View File

@ -107,13 +107,13 @@
- name: Execute cinder service reload
include: common-tasks/restart-service.yml
vars:
service_name: "{{ item }}"
service_action: "reloaded"
service_name: "{{ item.name }}"
service_action: "{{ item.action }}"
service_fact: "cinder"
with_items:
- "cinder-scheduler"
- "cinder-volume"
- "cinder-backup"
- { name: "cinder-scheduler", action: "restarted" }
- { name: "cinder-volume", action: "reloaded" }
- { name: "cinder-backup", action: "reloaded" }
when:
- "cinder_all_software_updated | bool"
- "ansible_local['openstack_ansible']['cinder']['need_service_restart'] | bool"