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