Skip to content

Commit a5397cd

Browse files
authored
unixPB: increase swap file space to 4GiB (was 2GiB) (#4081)
Signed-off-by: Stewart X Addison <[email protected]>
1 parent 6205564 commit a5397cd

File tree

1 file changed

+2
-2
lines changed
  • ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Swap_File/tasks

1 file changed

+2
-2
lines changed

ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Swap_File/tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@
8080
- (btrfs_fs_found == True) and not (swap_exists.stat.exists)
8181
tags: swap_file
8282

83-
- name: Create/Populate swap file - via DD
84-
command: "dd if=/dev/zero of=/{{ swap_path }} bs=250M count=8"
83+
- name: Create/Populate 4GiB swap file - via DD
84+
command: "dd if=/dev/zero of=/{{ swap_path }} bs=250M count=16"
8585
when:
8686
not (swap_exists.stat.exists)
8787
tags: swap_file

0 commit comments

Comments
 (0)