Le 18/12/2025 à 20:23, Andy Smith a écrit :
I have managed apt repository files just with the file or template modules for many years and not had an issue. I call a handler to do the "apt update" when they change. I've no reason to believe that apt_repository or deb822_repository wouldn't work fine as well though, it's just that what I have already works for me.
I gave that a spin and came to the same conclusion. The deb822_repository module spews out a more or less readable configuration file.
I have much nicer results using Ansible's file or (better) template module: * https://gitlab.com/kikinovak/deb_repos_official Thank you very much to everybody for your input. Cheers from the rainy South of France, Niki -- Microlinux - Solutions informatiques durables 7, place de l'église - 30730 Montpezat Site : https://www.microlinux.fr Blog : https://www.microlinux.fr/blog Mail : [email protected] Tél. : 04 66 63 10 32 Mob. : 06 51 80 12 12

