Browse Source

disable ipv6 in router role

Blaine Story 1 năm trước cách đây
mục cha
commit
740f6b846c
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      roles/router/tasks/main.yml

+ 5 - 0
roles/router/tasks/main.yml

@@ -46,3 +46,8 @@
   ansible.posix.sysctl:
     name: net.ipv4.ip_forward
     value: '1'
+
+- name: Disable IPv6
+  ansible.posix.sysctl:
+    name: net.ipv6.conf.all.disable_ipv6
+    value: '1'