diff --git a/playbooks/os-cinder-install.yml b/playbooks/os-cinder-install.yml index a57cc8f83f..71e10c498f 100644 --- a/playbooks/os-cinder-install.yml +++ b/playbooks/os-cinder-install.yml @@ -155,13 +155,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-backup - - cinder-volume - - cinder-scheduler + - { name: "cinder-backup", action: "restarted" } + - { name: "cinder-volume", action: "restarted" } + - { name: "cinder-scheduler", action: "restarted" } when: - "cinder_all_software_updated | bool" - "ansible_local['openstack_ansible']['cinder']['need_service_restart'] | bool"