From 6a3922eb78a12456762d13af8665e4066ba29ca8 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Sun, 14 Jan 2024 01:34:08 +0100 Subject: [PATCH] feat(omv): Restart NAS only after plugin installation --- node-configuration/tasks/omv.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/node-configuration/tasks/omv.yaml b/node-configuration/tasks/omv.yaml index b824a3a..68b8e3a 100644 --- a/node-configuration/tasks/omv.yaml +++ b/node-configuration/tasks/omv.yaml @@ -41,6 +41,8 @@ - openmediavault-zfs - openmediavault-s3 - openmediavault-filebrowser + register: plugin_install - name: Reboot to enable ZFS module and finish upgrade ansible.builtin.reboot: + when: plugin_install.changed