You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
203 B
YAML

---
- name: set sysctl
ansible.builtin.lineinfile:
create: yes
path: /etc/sysctl.conf
line: "net.ipv6.conf.all.disable_ipv6 = 1"
- name: accept sysctl
ansible.builtin.command: sysctl -p