ansible: Remove installation of curl from bookworm-backports
authorKienan Stewart <kstewart@efficios.com>
Mon, 26 Feb 2024 12:51:27 +0000 (07:51 -0500)
committerKienan Stewart <kstewart@efficios.com>
Mon, 26 Feb 2024 12:51:27 +0000 (07:51 -0500)
The configuration adjustment should be sufficient to avoid the
problem. It's not a big issue to use curl from bookworm-backports
otherwise, but the 'apt: upgrade' statement means that all the package
updates get run, violating an expectation for the default playbook
that only new packages will be installed - no updates should happen.

Change-Id: I8c083aa4d6a5d0a61a3924f52f295eab15467354
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
automation/ansible/roles/common/tasks/setup-Debian.yml

index 6785e7dd4e405e5a9d744faba2a88e0cef3efc84..80faa0a17a9aeaba447bc25c9bb447d98acb75ab 100644 (file)
   # @see https://support.efficios.com/issues/1532
   when: ansible_distribution_release == 'bookworm'
   block:
-    - name: Add bookworm-backports pref
-      ansible.builtin.copy:
-        dest: /etc/apt/preferences.d/bookworm-backports.pref
-        content: "Package: curl libcurl3* libcurl4*\nPin: release n=bookworm-backports\nPin-Priority: 600\n"
-    - name: Enable bookworm backports
-      ansible.builtin.apt_repository:
-        repo: 'deb http://deb.debian.org/debian bookworm-backports main'
-    - ansible.builtin.apt:
-        upgrade: 'yes'
     - name: Use HTTP/1.1 with git HTTP operations
       community.general.git_config:
         file: '/etc/gitconfig'
This page took 0.024456 seconds and 4 git commands to generate.