Update to trixie

This commit is contained in:
ibu ☉ radempa 2026-03-22 13:09:26 +01:00
parent 3686d35108
commit fbfb04717a
48 changed files with 914 additions and 2216 deletions

View file

@ -1,10 +1,13 @@
- name: find all installed versions of mail-transport-agent except postfix
shell: aptitude search '~i~Pmail-transport-agent' | sed -e 's/^...\(.*\)/\1/' | awk '{ print $1 }' | grep -v postfix || /bin/true
- name: Find all installed versions of mail-transport-agent except postfix
ansible.builtin.shell:
cmd: set -o pipefail && aptitude search '~i~Pmail-transport-agent' | sed -e 's/^...\(.*\)/\1/' | awk '{ print $1 }' | grep -v postfix || /bin/true
executable: /bin/bash
register: mtas
changed_when: false
- name: purge MTAs other than postfix
apt:
- name: Purge MTAs other than postfix
ansible.builtin.apt:
name: "{{ item }}"
state: absent
purge: yes
loop: "{{ mtas.stdout_lines|list }}"
purge: true
loop: "{{ mtas.stdout_lines | list }}"