Ignore error in check mode when disabling swap (#6703)
This commit is contained in:
parent
e666fe5a8d
commit
b7c4136702
1 changed files with 1 additions and 0 deletions
|
@ -16,3 +16,4 @@
|
|||
- name: Disable swap
|
||||
command: /sbin/swapoff -a
|
||||
when: swapon.stdout
|
||||
ignore_errors: "{{ ansible_check_mode }}"
|
||||
|
|
Loading…
Reference in a new issue