Skip to content

Commit 033589b

Browse files
committed
ansible: add swap to DigitalOcean Ubuntu 22.04
1 parent b008503 commit 033589b

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

ansible/inventory.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ hosts:
127127
ubuntu2204_docker-x64-1: {ip: 134.209.55.216}
128128
ubuntu2204_docker-x64-2: {ip: 159.89.183.200}
129129
ubuntu1804-x64-1: {ip: 178.128.181.213}
130-
ubuntu2204-x64-1: {ip: 138.197.4.1}
131-
ubuntu2204-x64-2: {ip: 167.99.124.188}
130+
ubuntu2204-x64-1: {ip: 138.197.4.1, swap_file_size_mb: 2048}
131+
ubuntu2204-x64-2: {ip: 167.99.124.188, swap_file_size_mb: 2048}
132132

133133
- equinix:
134134
ubuntu2004_docker-arm64-1: {ip: 145.40.81.219}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
3+
#
4+
# Ubuntu 22.04
5+
#
6+
7+
- name: set up swap on Linux
8+
include_tasks: linux-swap.yml
9+
when: swap_file_size_mb is defined

0 commit comments

Comments
 (0)