fix: disable changes on shell commands
This commit is contained in:
parent
8644006b8e
commit
3b7dddec77
@ -3,6 +3,7 @@
|
||||
block:
|
||||
- name: Disable swap
|
||||
ansible.builtin.shell: "test -f {{ swap_path }} && swapoff {{ swap_path }} || true"
|
||||
changed_when: False
|
||||
|
||||
- name: Unmount swap file
|
||||
ansible.posix.mount:
|
||||
|
Loading…
Reference in New Issue
Block a user