Skip to content
Snippets Groups Projects
Unverified Commit b7c41367 authored by Florian Ruynat's avatar Florian Ruynat Committed by GitHub
Browse files

Ignore error in check mode when disabling swap (#6703)

parent e666fe5a
Branches
Tags
No related merge requests found
......@@ -16,3 +16,4 @@
- name: Disable swap
command: /sbin/swapoff -a
when: swapon.stdout
ignore_errors: "{{ ansible_check_mode }}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment