Allow deployment on debian bookworm hosts

Change-Id: I1a2d8e6ecbc12168971b3983308ffaf537b87d19
This commit is contained in:
Jonathan Rosser 2023-09-11 17:22:39 +01:00
parent bf6ba53fef
commit b00b4db3e2
3 changed files with 3 additions and 1 deletions

View File

@ -54,6 +54,7 @@
assert:
that:
- (ansible_facts['distribution'] == 'Debian' and ansible_facts['distribution_release'] == 'bullseye') or
(ansible_facts['distribution'] == 'Debian' and ansible_facts['distribution_release'] == 'bookworm') or
(ansible_facts['distribution'] == 'Ubuntu' and ansible_facts['distribution_release'] == 'jammy') or
(ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] == '9')
msg: >

View File

@ -104,7 +104,7 @@ case ${DISTRO_ID} in
ubuntu|debian)
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get -y install \
git-core curl gcc netcat \
git-core curl gcc \
libssl-dev libffi-dev \
libsystemd-dev pkg-config \
wget

View File

@ -17,6 +17,7 @@
assert:
that:
(ansible_facts['distribution'] == 'Debian' and ansible_facts['distribution_release'] == 'bullseye') or
(ansible_facts['distribution'] == 'Debian' and ansible_facts['distribution_release'] == 'bookworm') or
(ansible_facts['distribution'] == 'Ubuntu' and ansible_facts['distribution_release'] == 'jammy') or
(ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] == '8') or
(ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] == '9')