From 374774c2542651dab1ef1294f8cfb294779eb962 Mon Sep 17 00:00:00 2001 From: Jeffrey Zhang Date: Mon, 20 Feb 2017 15:17:41 +0800 Subject: [PATCH] Fix typo in nova-serialproxy handler Change-Id: Ied1af4c8ab3012fc5893905795590b53227fb26e Closes-Bug: #1666123 --- ansible/roles/nova/handlers/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ansible/roles/nova/handlers/main.yml b/ansible/roles/nova/handlers/main.yml index 9c32c4c6b8..9e242b8be4 100644 --- a/ansible/roles/nova/handlers/main.yml +++ b/ansible/roles/nova/handlers/main.yml @@ -168,12 +168,12 @@ - name: Restart nova-serialproxy container vars: - service_name: "nova-spicehtml5proxy" + service_name: "nova-serialproxy" service: "{{ nova_services[service_name] }}" config_json: "{{ config_jsons.results|selectattr('item.key', 'equalto', service_name)|first }}" nova_conf: "{{ nova_confs.results|selectattr('item.key', 'equalto', service_name)|first }}" policy_json: "{{ policy_jsons.results|selectattr('item.key', 'equalto', service_name)|first }}" - nova_spicehtml5proxy_container: "{{ check_nova_containers.results|selectattr('item.key', 'equalto', service_name)|first }}" + nova_serialproxy_container: "{{ check_nova_containers.results|selectattr('item.key', 'equalto', service_name)|first }}" kolla_docker: action: "recreate_or_restart_container" common_options: "{{ docker_common_options }}" @@ -188,7 +188,7 @@ - config_json.changed | bool or nova_conf.changed | bool or policy_json.changed | bool - or nova_spicehtml5proxy_container.changed | bool + or nova_serialproxy_container.changed | bool - name: Restart nova-scheduler container vars: