diff --git a/roles/kubernetes/preinstall/tasks/0010-swapoff.yml b/roles/kubernetes/preinstall/tasks/0010-swapoff.yml
index c3c5e9e91220eb44a87213149a0d7f8b6ba6e471..997a18c851093376a6a89854300f628eea403384 100644
--- a/roles/kubernetes/preinstall/tasks/0010-swapoff.yml
+++ b/roles/kubernetes/preinstall/tasks/0010-swapoff.yml
@@ -25,3 +25,4 @@
   when:
     - swapon.stdout
     - ansible_distribution in ['Fedora']
+  ignore_errors: "{{ ansible_check_mode }}"  # noqa ignore-errors