Skip to content

Commit

Permalink
fix: clean yum cache after adding repos (#1081) (#1085)
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 authored May 20, 2024
1 parent de50fa4 commit 9e4c801
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 9e4c801

Please sign in to comment.