mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-11 11:27:39 -02:30
Ignore error in check mode when disabling swap (#6703)
This commit is contained in:
@@ -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 }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user