Do not pin packages nor install gpgs for distro method

When we do not need to install external GPG keys nor pin packages
to external sources when installation_method is set to distro.
Change-Id: I29bbcacd6ce06516f1ef34cf58da8cac8ef79ea8
This commit is contained in:
Dmitriy Rabotyagov
2024年04月24日 19:22:18 +02:00
parent 1d9a0837e9
commit 5e68cb6943

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
Reference in New Issue
openstack/openstack-ansible-rabbitmq_server
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.