ubuntu has an own crap-package-list (landscape, ubuntu-*), while any other only vim-tiny and snapd

This commit is contained in:
Denis Knauf 2024-11-17 09:19:28 +01:00
parent 24ba29679f
commit ac5ca55d00
2 changed files with 9 additions and 2 deletions

View file

@ -12,7 +12,8 @@ Options:
-f FROM default: your login-user -f FROM default: your login-user
-s SUBJECT default: "timer: [command *args]" -s SUBJECT default: "timer: [command *args]"
-e send email only on error (command exit-code != 0) -e send email only on error (command exit-code != 0)
-o send email only if command writes on STDOUT or STDERR (default) -o send email only if command writes something to syslog (default)
In Services, stdout and stderr are logged to syslog.
-a send always email -a send always email
EOF EOF
exit 42 exit 42

View file

@ -27,7 +27,13 @@
force: no force: no
name: name:
- aptitude - aptitude
- set_fact: - when: '"ubuntu" != ansible_distribution'
set_fact:
crap_packages:
- vim-tiny
- snapd
- when: '"ubuntu" == ansible_distribution'
set_fact:
crap_packages: crap_packages:
- cloud-init - cloud-init
- vim-tiny - vim-tiny