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