]> git.phdru.name Git - ansible.git/commitdiff
Feat(dev-packages): Install `libgdbm6`
authorOleg Broytman <phd@phdru.name>
Fri, 26 Jul 2024 11:28:38 +0000 (14:28 +0300)
committerOleg Broytman <phd@phdru.name>
Fri, 26 Jul 2024 11:28:38 +0000 (14:28 +0300)
On buster, bullseye, bookworm.

playbooks/roles/dev-packages/tasks/main.yaml

index bd52904b6e06b3a8a4633cab90046376a9260703..8b435ca9614aa3b2b443d99a06feb6505ca49cfc 100644 (file)
@@ -6,7 +6,7 @@
     cache_valid_time: 3600
     install_recommends: no
     name: ['git', 'g++', 'gcc', 'libcurl4-openssl-dev', 'libexpat1', 'libffi6',
-           'libgdbm{% if ansible_facts.distribution_major_version == "9" %}3{% elif ansible_facts.distribution_major_version == "10" %}6{% endif %}',
+           'libgdbm{% if ansible_facts.distribution_major_version == "9" %}3{% elif ansible_facts.distribution_major_version >= "10" %}6{% endif %}',
            'libgmp10',
            'liblzma5', 'libmpdec2', 'libreadline5', 'libreadline7',
            'make', 'openssl', 'patch', 'sqlite3', 'zlib1g',