Compare commits

...
20 Commits
Author SHA1 Message Date
DigitalInfinity 59a3f5efaa update playbook. dont need default version any more 2026-08-02 20:34:00 +02:00
DigitalInfinity e8b4bf8a3a update debian default version 2026-06-02 15:47:16 +02:00
DigitalInfinity be3ba1b6ef updated debian version 2026-03-26 19:22:48 +01:00
DigitalInfinity a73806dde2 updated debian version to 13.3.0 2026-02-06 23:13:44 +01:00
DigitalInfinity 8b5a165b34 debian version aktualisiert 2025-12-05 15:03:03 +01:00
DigitalInfinity 1bade76655 updated debian version 2025-12-05 15:02:21 +01:00
DigitalInfinity 23b94c361b Versoin Debian auf 13.1.0 erhöht 2025-11-20 22:09:55 +01:00
DigitalInfinity 6414b455d8 wird nicht mehr benötigt 2025-08-29 23:57:15 +02:00
DigitalInfinity d580ace85a das ist default schon so 2025-08-29 23:26:54 +02:00
DigitalInfinity 5604cff61e non-free firmware dazu 2025-08-29 23:26:39 +02:00
DigitalInfinity 12b0ef4031 wird wohl nicht mehr benötigt 2025-08-29 23:26:20 +02:00
DigitalInfinity 98613ff6e8 Lieber nichts erzwingen 2025-08-29 23:25:22 +02:00
DigitalInfinity 94548d06a8 update auf debian 13 2025-08-29 23:24:53 +02:00
DigitalInfinity 651d5c1e05 Textänderungen 2025-08-29 23:23:50 +02:00
DigitalInfinity ef62ba8c8a neue Abschnitte - nur Text 2025-08-29 23:22:42 +02:00
DigitalInfinity 637672d648 rolled back. 13.0.0 did noto work 2025-08-12 23:35:10 +02:00
DigitalInfinity 1e1974189f updated to debian 13.0.0 2025-08-12 23:34:04 +02:00
DigitalInfinity 69705bfdef Debian default version auf 12.11.0 umgestellt 2025-08-12 23:27:02 +02:00
DigitalInfinity 29f0154e4a partman method umgestellt auf lvm 2025-08-12 23:26:25 +02:00
DigitalInfinity 6796b0a07f updated debian to 12.10.0 2025-05-11 15:20:15 +02:00
3 changed files with 46 additions and 31 deletions

No files matched your search

-2
View File
@@ -1,2 +0,0 @@
---
debianunattended_debian_version: 12.9.0
+12
View File
@@ -1,4 +1,16 @@
--- ---
- name: query current debian release info
uri:
url: "https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/SHA256SUMS"
return_content: true
delegate_to: localhost
run_once: true
register: debianunattended_sha256sums
- name: determine current debian version
set_fact:
debianunattended_debian_version: "{{ debianunattended_sha256sums.content | regex_search('debian-([0-9]+\\.[0-9]+\\.[0-9]+)-amd64-netinst\\.iso', '\\1') | first }}"
- name: check if iso exists - name: check if iso exists
stat: stat:
path: "{{ playbook_dir }}/debian-{{ debianunattended_debian_version }}-amd64-netinst-unattended-{{ inventory_hostname }}.iso" path: "{{ playbook_dir }}/debian-{{ debianunattended_debian_version }}-amd64-netinst-unattended-{{ inventory_hostname }}.iso"
+34 -29
View File
@@ -1,8 +1,8 @@
#_preseed_V1 #_preseed_V1
#### Contents of the preconfiguration file (for bullseye) #### Contents of the preconfiguration file (for trixie)
### Localization ### Localization
# Preseeding only locale sets language, country and locale. # Preseeding only locale sets language, country and locale.
d-i debian-installer/locale string en_US d-i debian-installer/locale string en_US.UTF-8
# The values can also be preseeded individually for greater flexibility. # The values can also be preseeded individually for greater flexibility.
d-i debian-installer/language string {{ debianunattended_debian_installer_language | default('de') }} d-i debian-installer/language string {{ debianunattended_debian_installer_language | default('de') }}
@@ -15,6 +15,15 @@ d-i debian-installer/locale string {{ debianunattended_debian_installer_locale
d-i keyboard-configuration/xkb-keymap select {{ debianunattended_keyboard_configuration_xkb_keymap | default('de') }} d-i keyboard-configuration/xkb-keymap select {{ debianunattended_keyboard_configuration_xkb_keymap | default('de') }}
# d-i keyboard-configuration/toggle select No toggling # d-i keyboard-configuration/toggle select No toggling
### Speech synthesis
# Which ALSA card to be used for software speech.
# Can be a number from 0, or an ID as seen in
# /sys/class/sound/card*/id
#d-i espeakup/card string 0
# Which espeak-ng voice to be used
#d-i espeakup/voice string en
### Network configuration ### Network configuration
# Disable network configuration entirely. This is useful for cdrom # Disable network configuration entirely. This is useful for cdrom
# installations on non-networked devices where the network questions, # installations on non-networked devices where the network questions,
@@ -80,6 +89,10 @@ d-i netcfg/wireless_wep string
# The wacky dhcp hostname that some ISPs use as a password of sorts. # The wacky dhcp hostname that some ISPs use as a password of sorts.
#d-i netcfg/dhcp_hostname string radish #d-i netcfg/dhcp_hostname string radish
# If you want to completely disable firmware lookup (i.e. not use firmware
# files or packages that might be available on installation images):
#d-i hw-detect/firmware-lookup string never
# If non-free firmware is needed for the network or other hardware, you can # If non-free firmware is needed for the network or other hardware, you can
# configure the installer to always try to load it, without prompting. Or # configure the installer to always try to load it, without prompting. Or
# change to false to disable asking. # change to false to disable asking.
@@ -171,7 +184,7 @@ d-i clock-setup/ntp-server string {{ debianunattended_ntpserver }}
# - regular: use the usual partition types for your architecture # - regular: use the usual partition types for your architecture
# - lvm: use LVM to partition the disk # - lvm: use LVM to partition the disk
# - crypto: use LVM within an encrypted partition # - crypto: use LVM within an encrypted partition
d-i partman-auto/method string {{ debianunattended_partman_auto_method | default('regular') }} d-i partman-auto/method string {{ debianunattended_partman_auto_method | default('lvm') }}
# You can define the amount of space that will be used for the LVM volume # You can define the amount of space that will be used for the LVM volume
# group. It can either be a size with its unit (eg. 20 GB), a percentage of # group. It can either be a size with its unit (eg. 20 GB), a percentage of
@@ -188,10 +201,12 @@ d-i partman-md/device_remove_md boolean true
d-i partman-lvm/confirm boolean true d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true d-i partman-lvm/confirm_nooverwrite boolean true
# You can choose one of the three predefined partitioning recipes: # You can choose one of the predefined partitioning recipes:
# - atomic: all files in one partition # - atomic: all files in one partition
# - home: separate /home partition # - home: separate /home partition
# - multi: separate /home, /var, and /tmp partitions # - multi: separate /home, /var, and /tmp partitions
# - server: separate /var and /srv partitions; swap limitted to 1G
# - small_disk: scheme dedicated to small harddrives (under 10GB)
{% if debianunattended_partman_auto_expert_recipe is not defined %} {% if debianunattended_partman_auto_expert_recipe is not defined %}
d-i partman-auto/choose_recipe select atomic d-i partman-auto/choose_recipe select atomic
{% endif %} {% endif %}
@@ -248,10 +263,10 @@ d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true d-i partman/confirm_nooverwrite boolean true
# Force UEFI booting ('BIOS compatibility' will be lost). Default: false. # Force UEFI booting ('BIOS compatibility' will be lost). Default: false.
d-i partman-efi/non_efi_system boolean true #d-i partman-efi/non_efi_system boolean true
# Ensure the partition table is GPT - this is required for EFI # Ensure the partition table is GPT - this is required for EFI
d-i partman-partitioning/choose_label select gpt #d-i partman-partitioning/choose_label select gpt
d-i partman-partitioning/default_label string gpt #d-i partman-partitioning/default_label string gpt
# When disk encryption is enabled, skip wiping the partitions beforehand. # When disk encryption is enabled, skip wiping the partitions beforehand.
#d-i partman-auto-crypto/erase_disks boolean false #d-i partman-auto-crypto/erase_disks boolean false
@@ -260,11 +275,8 @@ d-i partman-partitioning/default_label string gpt
# The method should be set to "raid". # The method should be set to "raid".
#d-i partman-auto/method string raid #d-i partman-auto/method string raid
# Specify the disks to be partitioned. They will all get the same layout, # Specify the disks to be partitioned. They will all get the same layout,
# so this will only work if the disks are the same size.preseed # so this will only work if the disks are the same size.
#d-i partman-auto/disk string /dev/sda /dev/sdb #d-i partman-auto/disk string /dev/sda /dev/sdb
{% if debianunattended_partman_auto_disk is defined %}
d-i partman-auto/disk string {{ debianunattended_partman_auto_disk }}
{% endif %}
# Next you need to specify the physical partitions that will be used. # Next you need to specify the physical partitions that will be used.
{{ debianunattended_partman_auto_expert_recipe | default('') }} {{ debianunattended_partman_auto_expert_recipe | default('') }}
@@ -310,8 +322,6 @@ d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish d-i partman/choose_partition select finish
d-i partman/confirm boolean true d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true d-i partman/confirm_nooverwrite boolean true
d-i partman/confirm_nochanges boolean true
d-i partman-md/confirm_nooverwrite boolean true
## Controlling how partitions are mounted ## Controlling how partitions are mounted
# The default is to mount by UUID, but you can also choose "traditional" to # The default is to mount by UUID, but you can also choose "traditional" to
@@ -333,6 +343,8 @@ d-i partman-md/confirm_nooverwrite boolean true
# Choose, if you want to scan additional installation media # Choose, if you want to scan additional installation media
# (default: false). # (default: false).
d-i apt-setup/cdrom/set-first boolean false d-i apt-setup/cdrom/set-first boolean false
# You can choose to install non-free firmware.
d-i apt-setup/non-free-firmware boolean true
# You can choose to install non-free and contrib software. # You can choose to install non-free and contrib software.
d-i apt-setup/non-free boolean true d-i apt-setup/non-free boolean true
d-i apt-setup/contrib boolean true d-i apt-setup/contrib boolean true
@@ -340,7 +352,7 @@ d-i apt-setup/contrib boolean true
# entry for a DVD/BD installation image active in the installed system # entry for a DVD/BD installation image active in the installed system
# (entries for netinst or CD images will be disabled anyway, regardless of # (entries for netinst or CD images will be disabled anyway, regardless of
# this setting). # this setting).
d-i apt-setup/disable-cdrom-entries boolean true #d-i apt-setup/disable-cdrom-entries boolean true
# Uncomment this if you don't want to use a network mirror. # Uncomment this if you don't want to use a network mirror.
#d-i apt-setup/use_mirror boolean false #d-i apt-setup/use_mirror boolean false
# Select which update services to use; define the mirrors to be used. # Select which update services to use; define the mirrors to be used.
@@ -358,10 +370,12 @@ d-i apt-setup/disable-cdrom-entries boolean true
# apt will complain about the unauthenticated repository and so the # apt will complain about the unauthenticated repository and so the
# sources.list line will be left commented out. # sources.list line will be left commented out.
#d-i apt-setup/local0/key string http://local.server/key #d-i apt-setup/local0/key string http://local.server/key
# If the provided key file ends in ".asc" the key file needs to be an # or one can provide it in-line by base64 encoding the contents of the
# ASCII-armoured PGP key, if it ends in ".gpg" it needs to use the # key file (with `base64 -w0`) and specifying it thus:
# "GPG key public keyring" format, the "keybox database" format is #d-i apt-setup/local0/key string base64://LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCi4uLgo=
# currently not supported. # The content of the key file is checked to see if it appears to be ASCII-armoured.
# If so it will be saved with an ".asc" extension, otherwise it gets a '.gpg' extension.
# "keybox database" format is currently not supported. (see generators/60local in apt-setup's source)
# By default the installer requires that repositories be authenticated # By default the installer requires that repositories be authenticated
# using a known gpg key. This setting can be used to disable that # using a known gpg key. This setting can be used to disable that
@@ -389,7 +403,7 @@ d-i pkgsel/upgrade select full-upgrade
# You can choose, if your system will report back on what software you have # You can choose, if your system will report back on what software you have
# installed, and what software you use. The default is not to report back, # installed, and what software you use. The default is not to report back,
# but sending reports helps the project determine what software is most # but sending reports helps the project determine what software is most
# popular and should be included on the first CD/DVD. # popular and should be included on the first DVD.
popularity-contest popularity-contest/participate boolean false popularity-contest popularity-contest/participate boolean false
### Boot loader installation ### Boot loader installation
@@ -438,7 +452,7 @@ d-i grub-installer/bootdev string {{ debianunattended_partman_auto_disk | defau
# Avoid that last message about the install being complete. # Avoid that last message about the install being complete.
d-i finish-install/reboot_in_progress note d-i finish-install/reboot_in_progress note
# This will prevent the installer from ejecting the CD during the reboot, # This will prevent the installer from ejecting the disc during the reboot,
# which is useful in some situations. # which is useful in some situations.
#d-i cdrom-detect/eject boolean false #d-i cdrom-detect/eject boolean false
@@ -481,15 +495,6 @@ d-i finish-install/reboot_in_progress note
# packages and run commands in the target system. # packages and run commands in the target system.
d-i preseed/late_command string /cdrom/late_command.sh d-i preseed/late_command string /cdrom/late_command.sh
##added
d-i apt-setup/cdrom/set-first boolean false
d-i apt-setup/cdrom/set-next boolean false
d-i apt-setup/cdrom/set-failed boolean false
apt-cdrom-setup apt-setup/cdrom/set-next boolean false
apt-cdrom-setup apt-setup/cdrom/set-failed boolean true
pkgsel/update-policy select none
pkgsel/updatedb boolean true
{% if debianunattended_staticip_ipaddress is defined %} {% if debianunattended_staticip_ipaddress is defined %}
#static IPv4 address? #static IPv4 address?
d-i netcfg/disable_autoconfig boolean true d-i netcfg/disable_autoconfig boolean true