Skip to content

Commit

Permalink
remove task updating apt cache on every execution
Browse files Browse the repository at this point in the history
  • Loading branch information
pescobar committed Sep 20, 2024
1 parent d6a9a1c commit a3163a2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tasks/install-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,6 @@
when: ansible_distribution == "Red Hat Enterprise Linux" and ansible_distribution_major_version == '7'
changed_when: true

- name: Update cache (Debian)
ansible.builtin.apt:
update_cache: true
when: ansible_os_family == "Debian"

- name: Install Open Ondemand (RHEL)
ansible.builtin.yum:
name: "{{ 'ondemand' if ondemand_package == 'latest' else ondemand_package }}"
Expand Down

0 comments on commit a3163a2

Please sign in to comment.