From d8c7ad355f53f2f9eff2134504b42e859b7e7eed Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Tue, 25 May 2021 10:27:51 +0300 Subject: [PATCH] Add libcapstone4 pinning from backports After qemu has been updated in osbpo repo, extra requirement has appeared, that is available only from backports repo.So we add it to nova_backports_packages and limit apt_package_pinning only to Debian Buster. Change-Id: I284fbd7f8587886502ecc54adfe7314fb80967fd --- tasks/nova_install.yml | 1 + vars/debian.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/tasks/nova_install.yml b/tasks/nova_install.yml index c4463d7e..0d75c035 100644 --- a/tasks/nova_install.yml +++ b/tasks/nova_install.yml @@ -34,6 +34,7 @@ apt_pinned_packages: [{ package: "{{ nova_backports_packages | join(' ') }}", release: 'Debian Backports' }] when: - ansible_facts['distribution'] | lower == 'debian' + - ansible_facts['distribution_version'] == '10' args: apply: tags: diff --git a/vars/debian.yml b/vars/debian.yml index aa81673f..7b438e69 100644 --- a/vars/debian.yml +++ b/vars/debian.yml @@ -96,3 +96,4 @@ nova_backports_packages: - libdaxctl1 - libndctl6 - libudev1 + - libcapstone4