On 14.07.22 11:34, Michael Böhm wrote:
Am Mi., 13. Juli 2022 um 21:39 Uhr schrieb Ulf Volmer <u.volmer@u-v.de>:
Hier ist das ansible apt Modul mit dem 11.4 Update einfach durchgelaufen. Wird es also richtig gemacht haben.Das ist ja interessant. Auf den ersten Blick sehe ich, dass in dem Modul force-confdef und force-confold als Default gesetzt sind. Die Kombination habe ich so auch direkt in Apt hinterlegt, das hat debconf so aber w.g. nicht interessiert. Es gibt noch das ansible.builtin.debconf Modul, aber da sind kaum default Werte vorgegeben. Hast du im apt/debconf Modul noch irgendwelche anderen Werte definiert oder lief das so out-of-the-box durch?
Das lief out of the box. Meine Debian Updates mache ich seit längerem (ausgenommen Release Upgrades) mit einem
ansible -m apt -a 'name=* state=latest' Die sshd_config wurde dabei nicht angefasst: ls -l /etc/ssh/sshd_config* -rw-r--r-- 1 root root 694 May 15 01:34 /etc/ssh/sshd_config -rw-r--r-- 1 root root 3287 Aug 29 2021 /etc/ssh/sshd_config.ucf-dist -rw-r--r-- 1 root root 2541 Aug 12 2016 /etc/ssh/sshd_config.ucf-old Viele Grüße Ulf