From 298a811beec1d8da7e51b68a951a4538f3f1a28f Mon Sep 17 00:00:00 2001 From: Grant Schofield Date: Tue, 29 Dec 2020 11:44:24 -0800 Subject: [PATCH] Fix upgrade handlers --- handlers/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/handlers/main.yml b/handlers/main.yml index b35a2d1..34e191c 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -21,7 +21,7 @@ listen: Restart Humio when: humio_upgrade is not defined -- name: Restart Humio service +- name: Restart Humio service - updgrade mode throttle: "{{ deploy_concurrency | int }}" service: name: "humio@{{ item }}" @@ -34,17 +34,17 @@ - name: Stop all Humio instances - upgrade mode service: name: "humio@{{ item }}" - state: restarted + state: stopped daemon_reload: yes loop: "{{ range(0, humio_processes|int)|list }}" listen: Restart Humio when: humio_upgrade is defined and humio_shutdown -- name: Started all Humio instances - upgrade mode +- name: Start all Humio instances - upgrade mode service: name: "humio@{{ item }}" - state: restarted + state: started daemon_reload: yes loop: "{{ range(0, humio_processes|int)|list }}" listen: Restart Humio - when: humio_upgrade is defined and not humio_shutdown \ No newline at end of file + when: humio_upgrade is defined and humio_shutdown \ No newline at end of file