Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions ansible/tasks/setup-system.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,6 @@
when:
- (debpkg_mode or stage2_nix)

- name: configure system
ansible.posix.sysctl:
name: 'net.core.somaxconn'
value: 16834

- name: configure system
ansible.posix.sysctl:
name: 'net.ipv4.ip_local_port_range'
Expand Down
13 changes: 13 additions & 0 deletions ansible/tasks/setup-tuned.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,19 @@
value: 10


- name: tuned - Set ip_local_reserved_ports
become: true
community.general.ini_file:
create: true
group: 'root'
mode: '0644'
no_extra_spaces: true
option: 'net.ipv4.ip_local_reserved_ports'
path: '/etc/tuned/profiles/postgresql/tuned.conf'
section: 'sysctl'
state: 'present'
value: '3000,3001,8085,9122,9187,9999'

- name: tuned - Set tcp_keepalive_time
become: true
community.general.ini_file:
Expand Down
Loading