From dd0becd290583a392d626818ceade2e3ac3705a6 Mon Sep 17 00:00:00 2001 From: Julien Girardin Date: Wed, 13 Dec 2023 11:08:29 +0100 Subject: [PATCH] Fix dry-run of haproxy migration path --- roles/apiserver_haproxy_upgrade/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/apiserver_haproxy_upgrade/tasks/main.yml b/roles/apiserver_haproxy_upgrade/tasks/main.yml index e2ee8db..3fdfce2 100644 --- a/roles/apiserver_haproxy_upgrade/tasks/main.yml +++ b/roles/apiserver_haproxy_upgrade/tasks/main.yml @@ -18,6 +18,7 @@ service: name: haproxy state: reloaded + when: not(_haproxy_repo_just_added is changed and ansible_check_mode) rescue: - name: "Restart compose stack if error occured"