Add playbooks/sysctl.yml

This commit is contained in:
2026-06-13 13:42:25 +01:00
parent f6b849e231
commit 4c4a18ab82

14
playbooks/sysctl.yml Normal file
View File

@@ -0,0 +1,14 @@
- name: apply kernel attributes
hosts: apache-intranet
become: true
tasks:
- name: disable ipv6
ansible.posix.sysctl:
name: "{{ item }}"
value: "1"
state: present
reload: true
loop:
- net.ipv6.conf.all.disable_ipv6
- net.ipv6.conf.default.disable_ipv6