diff --git a/roles/kubernetes/preinstall/tasks/0010-swapoff.yml b/roles/kubernetes/preinstall/tasks/0010-swapoff.yml index c3c5e9e9122..997a18c8510 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