Merge "Do not pin packages nor install gpgs for distro method"

This commit is contained in:
Zuul
2024-05-02 14:15:04 +00:00
committed by Gerrit Code Review

View File

@@ -16,6 +16,8 @@
- name: Run the apt package pinning role
include_role:
name: apt_package_pinning
when:
- rabbitmq_install_method == 'external_repo'
vars:
apt_package_pinning_file_name: "rabbitmq.pref"
apt_package_pinning_priority: 999
@@ -32,6 +34,8 @@
- name: Install GPG keys
apt_key:
data: "{{ lookup('file', item.file) }}"
when:
- rabbitmq_install_method == 'external_repo'
with_items: "{{ rabbitmq_gpg_keys | selectattr('file', 'defined') | list }}"
tags:
- rabbitmq-apt-keys