User Tools

Site Tools


ansible:playbooks:disableipv66

playbook to disable ipv6

---
# la playbook oltra ad applicare i parametri subito,
# li imposta anche su sysctl.conf in modo che siano applicate anche ad un u
#
- name: disable ipv6
  hosts: linux
  tasks:
  - ansible.posix.sysctl:
      name: net.ipv6.conf.all.disable_ipv6
      value: '1'
      state: present
  - ansible.posix.sysctl:
      name: net.ipv6.conf.default.disable_ipv6
      value: '1'
      state: present
  - ansible.posix.sysctl:
      name: net.ipv6.conf.lo.disable_ipv6
      value: '1'
      state: present

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
ansible/playbooks/disableipv66.txt · Last modified: 2024/11/10 08:00 by 127.0.0.1