Go to file
2024-02-07 22:08:56 +01:00
defaults change to debian 12.4.0, run install tasks only once 2024-02-07 22:08:56 +01:00
files updated playbooks 2022-01-10 19:18:06 +01:00
tasks change to debian 12.4.0, run install tasks only once 2024-02-07 22:08:56 +01:00
templates add support for raid-config 2022-11-28 23:04:03 +01:00
LICENSE Initial commit 2021-06-07 23:44:18 +02:00
README.md updated readme 2022-11-29 16:59:48 +01:00

ansible-role-debianunattended

Create a Debian ISO for unattended installation

Variables:

  • debianunattended_debian_installer_language: de
  • debianunattended_debian_installer_country: DE
  • debianunattended_debian_installer_locale: de_DE.UTF-8
  • debianunattended_keyboard_configuration_xkb_keymap: de
  • debianunattended_hostname: "{{ debianunattended_hostname | default('debianunattended') }}"
  • debianunattended_user_fullname: username
  • debianunattended_username: username
  • debianunattended_user_crypt_password: passwordhash
  • debianunattended_time_zone: EU/Berlin
  • debianunattended_additional_packages: git nano wget bash-completion curl socat multitail python-apt-common software-properties-common
  • debianunattended_proxystring: http://hostname:port
  • debianunattended_mirror: ftp.de.debian.org
  • debianunattended_ntpserver: ntp.domain.tld
  • debianunattended_partman_auto_method | default('regular')
  • debianunattended_partman_disk1: vda
  • debianunattended_partman_disk2: vdb
  • debianunattended_partman_auto_disk: /dev/{{ debianunattended_partman_disk1 }} /dev/{{ debianunattended_partman_disk2 }}
  • debianunattended_partman_auto_expert_recipe | default('')
  • debianunattended_partman_auto_raid_recipe | default('')
RAID1-Example on 2 disks:
debianunattended_partman_auto_method: raid
debianunattended_partman_disk1: vda
debianunattended_partman_disk1: vdb
debianunattended_partman_auto_disk: /dev/{{ debianunattended_partman_disk1 }} /dev/{{ debianunattended_partman_disk1 }}
debianunattended_partman_auto_expert_recipe: |
  d-i partman-auto/expert_recipe string \
    multiraid :: \
      8192 8192 8192 raid $primary{ } $bootable{ } method{ raid } . \
      8192 8192 -1 raid method{ raid } . \
      8192 8192 8192 raid method{ raid } .

debianunattended_partman_auto_raid_recipe: |
  d-i partman-auto-raid/recipe string \
    1 2 0 ext3 /boot /dev/{{ debianunattended_partman_disk1 }}1#/dev/{{ debianunattended_partman_disk1 }}1 . \
    1 2 0 ext3 / /dev/{{ debianunattended_partman_disk1 }}5#/dev/{{ debianunattended_partman_disk1 }}5 . \
    1 2 0 swap - /dev/{{ debianunattended_partman_disk1 }}6#/dev/{{ debianunattended_partman_disk1 }}6 .

#backup-ip-address for environment without dhcp

  • debianunattended_staticip_ipaddress: 192.168.1.42
  • debianunattended_staticip_netmask: 255.255.255.0
  • debianunattended_staticip_gateway: 192.168.1.1
  • debianunattended_staticip_nameservers: 192.168.1.1
  • debianunattended_mirror: ftp.de.debian.org

Many Thanks to