Add playbooks/sysctl.yml
This commit is contained in:
14
playbooks/sysctl.yml
Normal file
14
playbooks/sysctl.yml
Normal 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
|
||||
Reference in New Issue
Block a user