Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ansible: use apt ansible task to autoremove
Ansible's builtin `apt` task has had an `autoremove` option since version 2.1 of the builtin. Using the builtin task rather than directly running `apt` will correctly set the `DEBIAN_FRONTEND` environment variable to `noninteractive` to prevent user prompts from packages which would otherwise cause `apt` to wait for user input (which will never come when run via Ansible).
- Loading branch information