Skip to content

Commit

Permalink
remove dnf cache update task
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibbs64 committed Apr 18, 2024
1 parent 11dbfc5 commit 111cc92
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ galaxy_info:
company: none
description: Useful packages and settings for Linux Administrators
license: MIT
min_ansible_version: "2.12"
min_ansible_version: "2.13"
namespace: dgibbs64
role_name: linux_admin_packages

Expand Down
5 changes: 0 additions & 5 deletions tasks/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@
cache_valid_time: 3600
when: ansible_os_family == "Debian"

- name: "Ensure dnf cache is up to date"
ansible.builtin.dnf:
update_cache: true
when: ansible_os_family == "RedHat"

- name: "Ensure rpm-python is installed (rpm/zypper)"
ansible.builtin.package:
name: python3-rpm
Expand Down

0 comments on commit 111cc92

Please sign in to comment.