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
-s SUBJECT default: "timer: [command *args]"
-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
EOF
exit 42

View file

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