diff --git a/tasks/swap.yml b/tasks/swap.yml index ff80d44..70aee77 100644 --- a/tasks/swap.yml +++ b/tasks/swap.yml @@ -7,7 +7,7 @@ reload: yes - name: swap | Gather active swaps - command: swapon --noheadings --show=NAME + ansible.builtin.command: swapon --noheadings --show=NAME register: active_swaps changed_when: false