Consolidate ubuntu/debian required_defaults

The value in efi_distro correspond to ansible_facts['distribution']

The additional packages from ubuntu are probably more than welcome
in debian aswell. I suspect python3-pymysql is a replacement for
python3-mysqldb so the latter could be removed. The rest might be
packages already installed on debian by default, which never made
adding them here a necessity.

Change-Id: I9de8b6e2bfe9f3c7a3010d1f784e6f79af6a032e
This commit is contained in:
Erik Berg 2022-09-04 08:46:59 +02:00
parent ed1ce203ae
commit 07d76c39d4
2 changed files with 5 additions and 36 deletions

View File

@ -5,13 +5,15 @@ ipxe_full_binary: ipxe.pxe
ironic_rootwrap_dir: /usr/local/bin/
mysql_service_name: mysql
tftp_service_name: tftpd-hpa
efi_distro: debian
efi_distro: "{{ ansible_facts['distribution'] | lower }}"
grub_efi_binary: /usr/lib/grub/x86_64-efi-signed/grubx64.efi.signed
shim_efi_binary: /usr/lib/shim/shimx64.efi.signed
required_packages:
- mariadb-server
- python3-dev
- python3-mysqldb
- python3-pymysql
- python3-setuptools
- libffi-dev
- libxslt1-dev
- libssl-dev
@ -19,6 +21,8 @@ required_packages:
- ipxe
- parted
- ipmitool
- iptables
- bsdmainutils
- psmisc
- wget
- genisoimage

View File

@ -1,35 +0,0 @@
---
init_dest_dir: /lib/systemd/system/
efi_distro: ubuntu
required_packages:
- mariadb-server
- python3-dev
- python3-mysqldb
- python3-pymysql
- python3-setuptools
- libffi-dev
- libxslt1-dev
- libssl-dev
- libxml2-dev
- ipxe
- parted
- ipmitool
- iptables
- bsdmainutils
- psmisc
- wget
- genisoimage
- kpartx
- qemu-utils
- uuid-runtime
- curl
- dnsmasq
- apache2-utils
- isolinux
- grub-efi-amd64-signed
- shim-signed
- dosfstools
# NOTE(TheJulia): The above entry for dnsmasq must be the last entry in the
# package list as the installation causes name resolution changes that can
# temporarily block packages following it while the system is being
# reconfigured. See: https://review.opendev.org/#/c/223813