From 1f8352bf374807401ebd083290dc40f7fbb2e774 Mon Sep 17 00:00:00 2001 From: Thomas Misilo Date: Thu, 18 Nov 2021 16:23:59 -0600 Subject: [PATCH] Always update cache when installing archivematica If you go from a brand new deployment of a server in Ubuntu, the cache for apt may be out of date. This amounts to running `apt-get update` which will make it so this doesn't fail, otherwise the `fish` package won't exist. --- playbooks/archivematica-bionic/singlenode-indexless.yml | 2 ++ playbooks/archivematica-bionic/singlenode.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/playbooks/archivematica-bionic/singlenode-indexless.yml b/playbooks/archivematica-bionic/singlenode-indexless.yml index 7573b9e6..e9d1bc49 100644 --- a/playbooks/archivematica-bionic/singlenode-indexless.yml +++ b/playbooks/archivematica-bionic/singlenode-indexless.yml @@ -14,6 +14,8 @@ apt: pkg: "{{ item }}" state: "latest" + update_cache: yes + cache_valid_time: 0 with_items: - "fish" become: "yes" diff --git a/playbooks/archivematica-bionic/singlenode.yml b/playbooks/archivematica-bionic/singlenode.yml index a687f8ad..fdd830c9 100644 --- a/playbooks/archivematica-bionic/singlenode.yml +++ b/playbooks/archivematica-bionic/singlenode.yml @@ -11,6 +11,8 @@ apt: pkg: "{{ item }}" state: "latest" + update_cache: yes + cache_valid_time: 0 with_items: - "fish" become: "yes"