Use correct libxml package name
Ubuntu 26.04 and upcoming Debian 14 are having an updated name for the libxml2 which is libxml2-16. We add a logic to handle the correct package name. Change-Id: Id691bdcdfa3b730ec2ace0991ca25a020cc1ed81 Signed-off-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com>
This commit is contained in:
1 parent
bcf0223570
commit
152bad87e9
1 file changed
+9
-1
+9
-1
@@ -16,10 +16,18 @@
|
||||
## APT Cache options
|
||||
cache_timeout: 600
|
||||
|
||||
_cloudkitty_package_names_condition: >-
|
||||
{{
|
||||
(
|
||||
(ansible_facts['distribution'] | lower == 'debian' and ansible_facts['distribution_major_version'] is version('14', '>=')) or
|
||||
(ansible_facts['distribution'] | lower == 'ubuntu' and ansible_facts['distribution_version'] is version('26.04', '>='))
|
||||
)
|
||||
}}
|
||||
|
||||
cloudkitty_distro_packages:
|
||||
- git
|
||||
- python3-systemd
|
||||
- libxml2
|
||||
- "{{ _cloudkitty_package_names_condition | ternary('libxml2-16', 'libxml2') }}"
|
||||
|
||||
cloudkitty_devel_distro_packages:
|
||||
- build-essential
|
||||
|
||||
Reference in new issue
Block a user