Simplify installtion of libpython

We only support one version of Debian so can remove the logic that
supports older versions.

Change-Id: Icf3c21de86297c2de3fc043d4903452747710e39
This commit is contained in:
Jonathan Rosser 2022-02-02 04:39:43 -05:00
parent 2bb97a64ac
commit bafac67172

View File

@ -42,7 +42,7 @@ _lxc_cache_distro_packages:
- openssh-server
- procps # provides sysctl which is a requirement
- python3
- "{{ hostvars[physical_host]['ansible_facts']['distribution_major_version'] is version('10', '>') | ternary('libpython3.9', 'libpython3.7') }}"
- libpython3.9
- rsync # os_keystone runs serial=1 and uses rsync before the distro packages have been installed on all keystone targets
- sudo
- systemd