From fe73933c851627b333cf9b5ff7fab683fc8a25c7 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Mon, 21 Aug 2023 12:23:48 +0300 Subject: [PATCH] update cache --- tasks/install_ubuntu.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/install_ubuntu.yml b/tasks/install_ubuntu.yml index 597f1e8..2afb52e 100644 --- a/tasks/install_ubuntu.yml +++ b/tasks/install_ubuntu.yml @@ -19,6 +19,7 @@ apt_repository: repo: "deb https://repo.jellyfin.org/{{ ansible_facts['distribution'] | lower }} {{ ansible_facts['distribution_release'] }} main" state: present + update_cache: true #echo "deb [arch=$( dpkg --print-architecture )] https://repo.jellyfin.org/$( awk -F'=' '/^ID=/{ print $NF }' /etc/os-release ) $( awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release ) main" | sudo tee /etc/apt/sources.list.d/jellyfin.list - name: Ensure Jellyfin package is installed