diff --git a/tasks/swap.yml b/tasks/swap.yml index b763a691bf..bc0ade3f16 100644 --- a/tasks/swap.yml +++ b/tasks/swap.yml @@ -50,7 +50,7 @@ - swap - name: Mount swap - command: "swapon {{ swap_file_path }}" + command: "swapon -a" #when: ansible_swaptotal_mb|int < 1 tags: - swap.file.swapon