From 787607b5a16cc7c19c9fc0e55a2798bcf5a0a5bf Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sun, 24 Sep 2023 14:49:02 +0200 Subject: [PATCH] automatix/upgrade_debian_bookworm: always upgrade zfs pools --- automatix/upgrade_debian_bookworm.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/automatix/upgrade_debian_bookworm.yaml b/automatix/upgrade_debian_bookworm.yaml index 822597b..352940b 100644 --- a/automatix/upgrade_debian_bookworm.yaml +++ b/automatix/upgrade_debian_bookworm.yaml @@ -32,9 +32,9 @@ pipeline: # fix zfs and reboot again - buster_with_zfs?remote@node: zpool import tank -f - - buster_with_zfs?remote@node: zpool upgrade -a - - buster_with_zfs?remote@node: systemctl reboot - - buster_with_zfs?local: | + - has_zfs?remote@node: zpool upgrade -a + - has_zfs?remote@node: systemctl reboot + - has_zfs?local: | exit=1 while [[ $exit -ne 0 ]]; do