I am trying to update the CentOS systems with ansible. Unfortunately I am not able to do that.
I already tried:
- name: install updates
yum: update_cache=yes
when: ansible_os_family == "RedHat
Isn't working.
- name: install updates
yum: name=* state=latest
when: ansible_os_family == "RedHat
The last task works but is it true, that the task updates the system?