From d6ca5af79ec10d1a6c2cd98b27ca7e755abfc9b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Knecht?= Date: Fri, 30 Nov 2018 10:36:05 +0100 Subject: [PATCH] Set Keepalived script_user to root Otherwise, Keepalived tries to execute its scripts as `keepalived_script`, which doesn't exist, so none of the scripts get executed at all. On top of that, some of the scripts require root privileges, so `script_user` needs to be set to `root`. Change-Id: Ia5cc0154cf520132d133679b64fc5f5c698dce85 Closes-Bug: 1806004 --- inventory/group_vars/haproxy/keepalived.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/inventory/group_vars/haproxy/keepalived.yml b/inventory/group_vars/haproxy/keepalived.yml index c4dd0c580c..721c04982f 100644 --- a/inventory/group_vars/haproxy/keepalived.yml +++ b/inventory/group_vars/haproxy/keepalived.yml @@ -31,6 +31,7 @@ keepalived_sync_groups: keepalived_global_defs: - "enable_script_security" + - script_user root keepalived_scripts: haproxy_check_script: