l
This commit is contained in:
parent
9e7e920158
commit
b493cf7459
4 changed files with 9 additions and 8 deletions
|
|
@ -19,4 +19,4 @@ all:
|
|||
ansible_host: 192.168.99.42
|
||||
|
||||
rocky9-template:
|
||||
ansible_host: 192.168.99.43
|
||||
ansible_host: 172.20.21.103
|
||||
|
|
@ -94,3 +94,8 @@
|
|||
package:
|
||||
name: "*"
|
||||
state: latest
|
||||
|
||||
- name: Удалить старые ядра и ненужные зависимости
|
||||
become: true
|
||||
dnf:
|
||||
autoremove: yes
|
||||
|
|
|
|||
|
|
@ -5,12 +5,6 @@
|
|||
name: "{{ (ansible_facts['distribution_major_version'] | int >= 8) | ternary('python3-libselinux', 'libselinux-python') }}"
|
||||
state: present
|
||||
|
||||
#- name: Ensure libselinux is installed on the control node
|
||||
# delegate_to: localhost
|
||||
# become: false
|
||||
# ansible.builtin.pip:
|
||||
# name: libselinux
|
||||
|
||||
- name: Disable SELinux
|
||||
ansible.posix.selinux:
|
||||
state: disabled
|
||||
|
|
|
|||
|
|
@ -87,12 +87,14 @@
|
|||
value: 1
|
||||
state: present
|
||||
sysctl_file: /etc/sysctl.d/tcp_tune.conf
|
||||
|
||||
# Разрешаем быструю утилизацию сокетов находящихся в состоянии TIME_WAIT DEPRICATRED
|
||||
#- ansible.posix.sysctl:
|
||||
# - ansible.posix.sysctl:
|
||||
# name: net.ipv4.tcp_tw_recycle
|
||||
# value: 1
|
||||
# state: present
|
||||
# sysctl_file: /etc/sysctl.d/tcp_tune.conf
|
||||
|
||||
# Параметр tcp_fin_timeout определяет время сохранения сокета в состоянии FIN-WAIT-2 после его закрытия локальной стороной.
|
||||
# Партнер может не закрыть это соединение никогда.
|
||||
- name: net.ipv4.tcp_fin_timeout
|
||||
|
|
|
|||
Loading…
Reference in a new issue