main.yml 186 B

1234567
  1. ---
  2. - name: refresh cache
  3. command: "{{ ansible_pkg_mgr }} clean all"
  4. args:
  5. # Disables the following warning:
  6. # Consider using yum module rather than running yum
  7. warn: no