We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e1a080 commit 0db1779Copy full SHA for 0db1779
2 files changed
ansible/tasks/setup-system.yml
@@ -211,7 +211,3 @@
211
name: 'net.core.somaxconn'
212
value: 16834
213
214
-- name: configure system
215
- ansible.posix.sysctl:
216
- name: 'net.ipv4.ip_local_port_range'
217
- value: '1025 65000'
ansible/tasks/setup-tuned.yml
@@ -111,6 +111,19 @@
111
state: 'present'
112
value: 10
113
114
+
115
+ - name: tuned - Set ip_local_port_range
116
+ become: true
117
+ community.general.ini_file:
118
+ create: true
119
+ group: 'root'
120
+ mode: '0644'
121
+ no_extra_spaces: true
122
+ option: 'net.ipv4.ip_local_port_range'
123
+ path: '/etc/tuned/profiles/postgresql/tuned.conf'
124
+ section: 'sysctl'
125
+ state: 'present'
126
+ value: "'1025 65000'"
127
- name: tuned - Load zstd compressor module
128
become: true
129
community.general.modprobe:
0 commit comments