From ac5485bc6291fb6ed147bb0f68b6b16141271833 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sun, 20 Oct 2024 22:30:42 +0200 Subject: [PATCH] fix ghost update --- roles/ghost/tasks/main.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/ghost/tasks/main.yaml b/roles/ghost/tasks/main.yaml index edd0edf..1ca511d 100644 --- a/roles/ghost/tasks/main.yaml +++ b/roles/ghost/tasks/main.yaml @@ -16,4 +16,5 @@ ansible.builtin.command: cmd: ghost update chdir: /mnt/data/{{ ghost_site }} - changed_when: '"Restarting Ghost" in gabnotes.stdout' + register: update + changed_when: '"Restarting Ghost" in update.stdout'