Include lsb-release in base packages

For whatever reason, on Debian 12, without lsb-release the
ansible_distribution_release variable is undefined, even though it
isn't. To work around this, just ensure we always have lsb-release
installed to provide a reliable OS version fact.
This commit is contained in:
Joshua Boniface 2024-03-06 16:43:43 -05:00
parent 3dcaace183
commit d52e59ea62
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ case $( uname -m ) in
;;
esac
# Supplemental packages (installed in chroot after debootstrap)
suppkglist="firmware-linux,firmware-linux-nonfree,firmware-bnx2,firmware-bnx2x,ntp,ipmitool,acpid,acpi-support-base,lsscsi"
suppkglist="firmware-linux,firmware-linux-nonfree,firmware-bnx2,firmware-bnx2x,ntp,ipmitool,acpid,acpi-support-base,lsscsi,lsb-release"
# Modules to blacklist (known-faulty)
target_module_blacklist=( "hpwdt" )