feat: use builtin virtualisation detection

This commit is contained in:
Simon Cornet 2026-04-10 14:31:15 +02:00
commit d3cefe2058

View file

@ -52,7 +52,7 @@
ansible.builtin.command:
cmd: "fstrim /"
changed_when: false
when: "type == 'vm'"
when: "ansible_virtualization_type == 'kvm'"
# all is done
- name: "all is done"