initial pfannkuchen
This commit is contained in:
parent
b6dafc7a73
commit
4d305fa19f
99 changed files with 3575 additions and 321 deletions
|
|
@ -1,27 +1,6 @@
|
|||
---
|
||||
- name: Sysctl Tuning fuer Proxmox Hosts
|
||||
hosts: proxmox
|
||||
become: true
|
||||
|
||||
tasks:
|
||||
|
||||
- name: Sysctl Parameter setzen
|
||||
ansible.posix.sysctl:
|
||||
name: "{{ item.key }}"
|
||||
value: "{{ item.value }}"
|
||||
sysctl_file: /etc/sysctl.d/99-proxmox-tuning.conf
|
||||
reload: true
|
||||
state: present
|
||||
loop:
|
||||
# KVM / Virtualisierung
|
||||
- { key: vm.overcommit_memory, value: "1" }
|
||||
- { key: vm.swappiness, value: "1" }
|
||||
# Viele VMs = viele File Handles
|
||||
- { key: fs.file-max, value: "9999999" }
|
||||
- { key: fs.inotify.max_user_watches, value: "524288" }
|
||||
- { key: fs.inotify.max_user_instances, value: "512" }
|
||||
# Routing zwischen VMs / Bridges
|
||||
- { key: net.ipv4.ip_forward, value: "1" }
|
||||
# WireGuard MTU-Anpassung
|
||||
# TODO: entfernen sobald WireGuard abgeschaltet wird
|
||||
- { key: net.ipv4.tcp_mtu_probing, value: "1" }
|
||||
become: yes
|
||||
roles:
|
||||
- sysctl_proxmox
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue