style 💎: Update Samba repository URL for Debian

Updated the Samba Team Debian repository URL to use the modern method, which includes a signed-by keyring. This change improves security and stability of the package installation process.
This commit is contained in:
2025-11-04 20:38:03 +01:00
parent e70b483274
commit c76545e816

View File

@@ -47,7 +47,8 @@
- name: Add Samba Team Debian repository (modern method)
ansible.builtin.apt_repository:
repo: "deb [signed-by=/usr/share/keyrings/samba-team-archive-keyring.gpg] http://pkg.samba.org/packages/debian {{ ansible_lsb.codename | default('bookworm') }} samba-422"
# repo: "deb [signed-by=/usr/share/keyrings/samba-team-archive-keyring.gpg] http://pkg.samba.org/packages/debian {{ ansible_lsb.codename | default('bookworm') }} samba-422"
repo: "deb [signed-by=/usr/share/keyrings/samba-team-archive-keyring.gpg] http://download.samba.org/pub/samba/packages/debian {{ ansible_lsb.codename }} samba-422"
state: present
filename: samba-team
when: "'4.22.4' in samba_version.stdout"