ansible/roles/arp_cache/tasks/main.yml
Markus Hauschild 92b6f4bbd9
Some checks failed
continuous-integration/drone/push Build is failing
arp_cache: increase v6 entries
2021-06-22 22:59:46 +02:00

12 lines
490 B
YAML

---
- name: Configure ARP/ND cache
sysctl: name={{ item.key }} value={{ item.value }} state=present
with_items:
- { key: 'net.ipv4.neigh.default.gc_thresh1', value: 2048 }
- { key: 'net.ipv4.neigh.default.gc_thresh2', value: 4096 }
- { key: 'net.ipv4.neigh.default.gc_thresh3', value: 8192 }
- { key: 'net.ipv6.neigh.default.gc_thresh1', value: 2048 }
- { key: 'net.ipv6.neigh.default.gc_thresh2', value: 4096 }
- { key: 'net.ipv6.neigh.default.gc_thresh3', value: 32768 }