From f60d9205f8c518c300c717f5550e772f07690122 Mon Sep 17 00:00:00 2001 From: Ivan Reshetnikov Date: Thu, 28 Nov 2024 12:58:23 +0500 Subject: [PATCH] Use drain mode before disabling mastodon server --- roles/mastodon/tasks/start_web_server.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/mastodon/tasks/start_web_server.yml b/roles/mastodon/tasks/start_web_server.yml index b6ec50e..6487872 100644 --- a/roles/mastodon/tasks/start_web_server.yml +++ b/roles/mastodon/tasks/start_web_server.yml @@ -4,6 +4,8 @@ community.general.haproxy: socket: /run/haproxy/admin.sock state: disabled + drain: true + wait: true backend: mastodon host: s{{ server_idx }} fail_on_not_found: true