ansible/roles/arp_cache/tasks/main.yml

12 lines
490 B
YAML
Raw Normal View History

2018-07-19 16:28:52 +02:00
---
- 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 }
2021-06-22 22:59:46 +02:00
- { key: 'net.ipv6.neigh.default.gc_thresh3', value: 32768 }