From 80332769b6c31b55c0ad56a9b541e12bda3dca0e Mon Sep 17 00:00:00 2001 From: xin Date: Fri, 22 Aug 2025 12:24:43 +0800 Subject: [PATCH] feat: optimize ota --- files_download.txt | 2 +- playbooks/site.yml | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/files_download.txt b/files_download.txt index 1e45d74..d2634c6 100644 --- a/files_download.txt +++ b/files_download.txt @@ -1 +1 @@ -http://xplayer-ota.pureroad.cn/files_20250821_231256.tar.xz +http://xplayer-ota.pureroad.cn/files_20250822_120330.tar.xz diff --git a/playbooks/site.yml b/playbooks/site.yml index 03ce701..c7cc00d 100644 --- a/playbooks/site.yml +++ b/playbooks/site.yml @@ -14,10 +14,6 @@ mode: '0644' tags: apt - - name: Update apt cache - shell: - cmd: apt update -y - - name: install dependencies apt: name: @@ -78,6 +74,8 @@ - avahi-daemon # - upmpdcli state: present + cache_valid_time: 3153600 # 365天缓存 + update_cache: no become: yes tags: apt