Skip to content

Commit

Permalink
ansible: add 2GB swap to debian x64 hosts (#3692)
Browse files Browse the repository at this point in the history
Adds 2GB swap to
- test-digitalocean-debian11-x64-1
- test-digitalocean-debian12-x64-1
- test-softlayer-debian12-x64-1

in an attempt to stabilize the CI after recent V8 updates.
  • Loading branch information
richardlau committed Apr 30, 2024
1 parent eb7c35a commit 437f7e3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ansible/inventory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ hosts:
msft-win2016_vs2017-x64-2: {ip: nodejs.westus3.cloudapp.azure.com}

- digitalocean:
debian11-x64-1: {ip: 174.138.79.159}
debian12-x64-1: {ip: 159.203.105.159}
debian11-x64-1: {ip: 174.138.79.159, swap_file_size_mb: 2048}
debian12-x64-1: {ip: 159.203.105.159, swap_file_size_mb: 2048}
fedora37-x64-1: {ip: 159.65.248.149}
fedora38-x64-1: {ip: 162.243.187.89}
fedora38-x64-2: {ip: 134.209.172.40}
Expand Down Expand Up @@ -306,4 +306,4 @@ hosts:

- softlayer:
debian10-x64-1: {ip: 169.44.16.126}
debian12-x64-1: {ip: 169.60.150.88}
debian12-x64-1: {ip: 169.60.150.88, swap_file_size_mb: 2048}
9 changes: 9 additions & 0 deletions ansible/roles/bootstrap/tasks/partials/debian12.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---

#
# debian 12
#

- name: set up swap on Linux
include_tasks: linux-swap.yml
when: swap_file_size_mb is defined

0 comments on commit 437f7e3

Please sign in to comment.