From 04e7f8ecbcca351e4086801e9e34fb39bd2aa89e Mon Sep 17 00:00:00 2001 From: Gregory Bloquel Date: Thu, 4 Jan 2024 13:10:00 +0100 Subject: [PATCH] fix(debian12): synch apt repositories --- playbooks/00_offline_prepare.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/playbooks/00_offline_prepare.yml b/playbooks/00_offline_prepare.yml index 32c0995..4362e09 100644 --- a/playbooks/00_offline_prepare.yml +++ b/playbooks/00_offline_prepare.yml @@ -48,3 +48,11 @@ rsync_opts: '--delete -e "ssh -F {{ hs_workspace_root }}/ssh.cfg"' tags: - sync + + - name: Copy apt sources.list.d/ # noqa: no-same-owner + ansible.posix.synchronize: + src: /etc/apt/sources.list.d/ + dest: /etc/apt/sources.list.d/ + rsync_opts: '--delete -e "ssh -F {{ hs_workspace_root }}/ssh.cfg"' + tags: + - sync