From af5ab1f3bd1ed18ba22b7444fcb635ddea4c7d9f Mon Sep 17 00:00:00 2001 From: xin Date: Mon, 10 Nov 2025 15:25:19 +0800 Subject: [PATCH] fix: ota --- playbooks/site.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/playbooks/site.yml b/playbooks/site.yml index 70b3bb2..d44981a 100644 --- a/playbooks/site.yml +++ b/playbooks/site.yml @@ -63,6 +63,7 @@ libfdk-aac2 \ libldacbt-abr2 \ libldacbt-enc2 \ + aria2 \ cloud-guest-utils" tasks: @@ -83,7 +84,7 @@ shell: cmd: | if command -v apt-fast &> /dev/null; then - apt-fast update -y + apt-fast update -y || apt-get update -y else apt-get update -y fi @@ -94,7 +95,7 @@ shell: cmd: | if command -v apt-fast &> /dev/null; then - apt-fast install -y {{ packages }} + apt-fast install -y {{ packages }} || apt-get install -y {{ packages }} else apt-get install -y {{ packages }} fi