Re: Manage Debian repositories using Ansible
On Thu, 18 Dec 2025 18:13:53 +0100
Nicolas Kovacs <info@microlinux.fr> wrote:
> I understand there's a new repository definition standard, according
> to the example in /usr/share/doc/apt/examples.
>
> If I understand this right, I can just copy the example file over to
> /etc/apt/sources.list.d and then rename or remove the "classic"
> /etc/apt/sources.list file created by the installer. (Correct me if
> I'm wrong.)
Correct. I believe at this point it is optional, but that could change
in the future.
Plop the example into /etc/apt/sources.list.d, as usual. Then run
apt modernize-sources
It will show you what it will do, and then ask for confirmation.
I can't help you with Ansible, though.
--
Does anybody read signatures any more?
https://charlescurley.com
https://charlescurley.com/blog/
Reply to: