Remove conditional code for ubuntu version earlier than 20.x

This has not been supported for a while in openstack-ansible so
tidy up the old code.

Change-Id: If3e0d8205a33b00a07bea530d9d7317e83f5b0d6
This commit is contained in:
Jonathan Rosser 2023-05-10 14:19:56 +01:00
parent 420e837631
commit 3502645d5a
1 changed files with 1 additions and 2 deletions

View File

@ -34,9 +34,8 @@ ceph_revoked_gpg_keys:
ceph_apt_repo_url_region: "download" # or "eu" for Netherlands based mirror
ceph_apt_repo_url: "http://{{ ceph_apt_repo_url_region }}.ceph.com/debian-{{ ceph_stable_release }}"
# LibVirt differentials between Debian and Ubuntu
libvirt_packages:
- "{{ (ansible_facts['distribution'] == 'Ubuntu' and ansible_facts['distribution_major_version'] is version('20', '<')) | ternary('libvirt-bin', 'libvirt-daemon-system') }}"
- libvirt-daemon-system
libvirt_service_name: libvirtd