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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user