Skip to content

Commit

Permalink
APT cache fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bviktor committed Nov 29, 2023
1 parent 0597060 commit 6bf013f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
5 changes: 5 additions & 0 deletions tasks/apt_cache.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
- name: Update APT cache
apt:
update_cache: true
register: noobient_apt_cache_updated
4 changes: 3 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
- include_tasks: update.yml
- include_tasks: apt_cache.yml
when: ansible_pkg_mgr == 'apt' and noobient_apt_cache_updated is not defined

- include_tasks: unixcred.yml

- include_role:
Expand Down
6 changes: 0 additions & 6 deletions tasks/update.yml

This file was deleted.

0 comments on commit 6bf013f

Please sign in to comment.