From ca59797d0278f0d272bbc8258171920cbab5d578 Mon Sep 17 00:00:00 2001 From: Christoph Date: Thu, 25 Sep 2025 01:32:33 +0200 Subject: [PATCH] Update-- --- ansible-dependencies-trixie.yml | 15 ++++ group_vars/all/main.yml | 139 ++++++++++++++++++++++++++++++++ roles/common/tasks/apt.yml | 16 +++- 3 files changed, 168 insertions(+), 2 deletions(-) create mode 100644 ansible-dependencies-trixie.yml diff --git a/ansible-dependencies-trixie.yml b/ansible-dependencies-trixie.yml new file mode 100644 index 0000000..76a1637 --- /dev/null +++ b/ansible-dependencies-trixie.yml @@ -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 diff --git a/group_vars/all/main.yml b/group_vars/all/main.yml index 32d504b..f371cef 100644 --- a/group_vars/all/main.yml +++ b/group_vars/all/main.yml @@ -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 diff --git a/roles/common/tasks/apt.yml b/roles/common/tasks/apt.yml index e9557c4..1bc0522 100644 --- a/roles/common/tasks/apt.yml +++ b/roles/common/tasks/apt.yml @@ -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