refactor ♻️: Convert string to boolean for condition and changed_when #11
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user