Actually mount swapfile
This commit is contained in:
parent
5decde69dc
commit
e6b81127e1
|
@ -57,10 +57,10 @@
|
|||
blocksize: 512B
|
||||
owner: root
|
||||
mode: u=rw,go=
|
||||
when: swap_mounted is undefined
|
||||
when: swap_mounted.rc != 0
|
||||
|
||||
- name: Mount swapfile
|
||||
shell: |
|
||||
mkswap {{ ssd_mount_point }}/swapfile
|
||||
swapon {{ ssd_mount_point }}/swapfile
|
||||
when: swap_mounted is undefined
|
||||
when: swap_mounted.rc != 0
|
||||
|
|
Reference in a new issue