ansible-test/roles/linux/upgrade/tasks/main.yml

15 lines
201 B
YAML

---
- name: system upgrade
package:
name: "*"
state: latest
- name: autoremove
dnf:
autoremove: true
when: ansible_os_family == "RedHat"
- name: fstrim
shell:
cmd: fstrim -va