From 55193c7bd41cab9ed7bd2b38adb59dc6dd6db92b Mon Sep 17 00:00:00 2001 From: Sebastian Palencsar Date: Wed, 6 May 2026 13:52:12 +0200 Subject: [PATCH] fix: add --path parameter to wp option update command --- playbooks/lemp-wordpress.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/playbooks/lemp-wordpress.yml b/playbooks/lemp-wordpress.yml index bffbb7f..de08a84 100755 --- a/playbooks/lemp-wordpress.yml +++ b/playbooks/lemp-wordpress.yml @@ -444,10 +444,8 @@ - name: Configure WordPress auto-update settings command: > wp option update auto_update_core_minor enabled + --path="{{ wordpress_path }}" --allow-root - environment: - HOME: "{{ wordpress_path }}" - ignore_errors: yes tags: update - name: Set up cron job for WordPress updates