This commit is contained in:
2025-09-25 01:32:33 +02:00
parent 40ce22e526
commit ca59797d02
3 changed files with 168 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
---
- hosts: initial_setup
remote_user: root
become: false
gather_facts: false
vars_prompt:
- name: ansible_ssh_pass
prompt: "Give root's password here"
roles:
- ansible_dependencies-trixie
- ansible_user_debian

View File

@@ -23,6 +23,22 @@ apt_ansible_dependencies:
- vim
- vlan
# software-properties-common no longer available
apt_ansible_dependencies_trixie:
- apt-transport-https
- ca-certificates
- dbus
- lsb-release
- mc
- net-tools
- openssl
- python-apt-common
- python3
- python3-apt
- sudo
- vim
- vlan
# ==========
# vars used by roles/common/tasks/basic.yml
@@ -680,6 +696,129 @@ apt_initial_install_bookworm:
- btrfs-progs
- fdisk
# mime-support no longer exists
# rcconf no longer exists
apt_initial_install_trixie:
- acl
- aptitude
- apt-utils
- arj
- arp-scan
- attr
- bash
- bash-completion
- bc
- bridge-utils
- btrfs-progs
- bzip2
- coreutils
- cron
- cryptsetup
- curl
- dbus
- debian-keyring
- dnsutils
- dselect
- ethtool
- fdisk
- figlet
- file
- freeipmi-tools
- ftp
- gawk
- gdisk
- gettext
- gettext-base
- gettext-doc
- git
- groff
- groff
- haveged
- hdparm
- htop
- iperf
- ipmitool
- iproute2
- iptables
- iptraf
- iputils-ping
- less
- libio-compress-perl
- libmail-imapclient-perl
- libpcre2-8-0
- libpcre2-16-0
- libpcre2-32-0
- libperl-dev
- libreadline-dev
- librecode3
- librecode-dev
- libterm-readkey-perl
- libterm-readline-gnu-perl
- libterm-readline-perl-perl
- libtimedate-perl
- libtime-duration-perl
- libwww-perl
- links
- locate
- logrotate
- lsb-release
- lshw
- lsof
- lua5.4
- lynx
- man
- mawk
- mc
- moreutils
- mtr
- needrestart
- net-tools
- ntpsec-ntpdate
- openssh-server
- parted
- patch
- patchutils
- perl
- perl-doc
- perl-modules
- psmisc
- quota
- quotatool
- rblcheck
- rdate
- re2c
- recode
- recode-doc
- rsync
- rsyslog
- rush
- screen
- sharutils
- shellcheck
- sipcalc
- smartmontools
- socat
- ssl-cert
- ssl-cert-check
- sudo
- tcpdump
- tmux
- unhide
- universal-ctags
- unzip
- util-linux
- vim
- vim-common
- vim-doc
- vlan
- w3m
- wget
- whois
- wipe
- wipe
- zip
- zsh
apt_initial_install_xenial:
- apt-transport-https
- dbus

View File

@@ -108,6 +108,18 @@
- apt-initial-install
- name: (apt.yml) Initial install debian packages (trixie)
apt:
name: "{{ apt_initial_install_trixie }}"
state: "{{ apt_install_state }}"
when:
- apt_initial_install_trixie is defined and apt_initial_install_trixie|length > 0
- ansible_facts['distribution'] == "Debian"
- ansible_facts['distribution_major_version'] == "13"
tags:
- apt-initial-install
- name: (apt.yml) Initial install ubuntu packages (bionic)
apt:
name: "{{ apt_initial_install_bionic }}"
@@ -168,7 +180,7 @@
- apt-microcode
- name: (apt.yml) Install CPU microcode (debian buster/bullseye/bookworm)
- name: (apt.yml) Install CPU microcode (debian buster/bullseye/bookworm/trixie)
apt:
name: "{{ microcode_intel_package }}"
state: present
@@ -176,7 +188,7 @@
when:
- apt_debian_contrib_nonfree_enable
- ansible_facts['distribution'] == "Debian"
- ansible_facts['distribution_major_version'] == "10" or ansible_facts['distribution_major_version'] == "11"or ansible_facts['distribution_major_version'] == "12"
- ansible_facts['distribution_major_version'] == "10" or ansible_facts['distribution_major_version'] == "11"or ansible_facts['distribution_major_version'] == "12" or ansible_facts['distribution_major_version'] == "13"
- ansible_facts['processor']|string is search("Intel")
tags:
- apt-initial-install