Skip to content

Commit

Permalink
Merge pull request #10 from punktDe/autoremove
Browse files Browse the repository at this point in the history
Add apt autoremove
  • Loading branch information
daniellienert authored Jan 25, 2023
2 parents 153bc2f + 3295e11 commit 03df37b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tasks/apt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@
dest: /etc/apt/sources.list.d/nodesource.list
when: nodejs.version is defined

- name: Update apt cache
- name: Update apt cache and remove unneeded packages
apt:
update_cache: yes
autoremove: yes
changed_when: false

- name: Configure apt proxy
Expand Down

0 comments on commit 03df37b

Please sign in to comment.