Skip to content

Commit

Permalink
fix: clean yum cache after adding repos (#1081)
Browse files Browse the repository at this point in the history
* fix: clean yum cache after adding repos

* fix: clean cache for rhel/centos 7 only
  • Loading branch information
supershal committed May 20, 2024
1 parent 6318740 commit ce71dd6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ansible/roles/repo/tasks/redhat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,7 @@
until: konvoy_repo_installation_rpm is success
retries: 5
delay: 6

- name: clean yum caches
shell: yum clean all
when: ansible_distribution_major_version == '7'

0 comments on commit ce71dd6

Please sign in to comment.