refactor ♻️: Convert string to boolean for condition and changed_when #11

Merged
Jose merged 5 commits from dev into main 2026-02-14 08:45:14 +01:00
Showing only changes of commit cbd2f38da0 - Show all commits

View File

@@ -16,7 +16,8 @@
when:
- proxmox_disable_swap
- ansible_memtotal_mb >= proxmox_min_ram_mb_for_no_swap
- active_swaps.stdout != ""
- active_swaps.stdout | bool
changed_when: active_swaps.stdout | bool
- name: swap | Comment swap entries in fstab
ansible.builtin.replace: