I know it's "not intended", but I'm currently doing
ansible -a "apt purge --dry-run $whatever" server
# confirm
ansible -a "apt purge --y $whatever" server
to clean up all my VPS at once.
I already slipped once, executing the -y before the dry-run.
and yes, I know there's a package module.
ansible -a "apt purge --dry-run $whatever" server
# confirm
ansible -a "apt purge --y $whatever" server
to clean up all my VPS at once.
I already slipped once, executing the -y before the dry-run.
and yes, I know there's a package module.
1