Ignore error in check mode when disabling swap (#6703)
parent
e666fe5a8d
commit
b7c4136702
|
@ -16,3 +16,4 @@
|
||||||
- name: Disable swap
|
- name: Disable swap
|
||||||
command: /sbin/swapoff -a
|
command: /sbin/swapoff -a
|
||||||
when: swapon.stdout
|
when: swapon.stdout
|
||||||
|
ignore_errors: "{{ ansible_check_mode }}"
|
||||||
|
|
Loading…
Reference in New Issue