Skip to content

Commit

Permalink
Remove the package cache update task
Browse files Browse the repository at this point in the history
Since cisagov/ansible-role-backports updates the package cache we do
not need to do so explicitly.
  • Loading branch information
mcdonnnj committed Jun 17, 2024
1 parent b26456e commit 16c568c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@
ansible.builtin.include_role:
name: backports

- name: Update the apt cache
ansible.builtin.apt:
update_cache: true

- name: Install nmap
ansible.builtin.apt:
default_release: "{{ ansible_distribution_release }}-backports"
Expand Down

0 comments on commit 16c568c

Please sign in to comment.