Skip to content

Commit

Permalink
Always update on Debian distributions
Browse files Browse the repository at this point in the history
* Always update the apt cache on Debian based distributions.
  • Loading branch information
stafwag committed Oct 31, 2021
1 parent 920a972 commit 3579f2e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
7 changes: 4 additions & 3 deletions tasks/update/Debian.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
- name: Update apt cache
apt:
update_cache: yes
- name: install aptitude
apt: name=aptitude state=latest
- name: update all
- name: Upgrade all
apt:
upgrade: dist
update_cache: yes
autoclean: yes
autoremove: yes
cache_valid_time: 86400 #One day
9 changes: 0 additions & 9 deletions tasks/update/Kali_GNU_Linux.yml

This file was deleted.

1 change: 1 addition & 0 deletions tasks/update/Kali_GNU_Linux.yml

0 comments on commit 3579f2e

Please sign in to comment.