Skip to content

Commit

Permalink
Clean cache before upgrading packages
Browse files Browse the repository at this point in the history
  • Loading branch information
dangel101 authored and mwperina committed Jul 26, 2022
1 parent ecd6cb1 commit a958149
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@
set_fact:
previous_vdsm_package: "{{ ansible_facts.packages['vdsm'] | first }}"

- name: Clean yum cache
command:
cmd: yum clean packages
ignore_errors: yes

- name: Upgrade packages
yum:
name: '*'
Expand Down

0 comments on commit a958149

Please sign in to comment.