Repository: isucon/isucon11-qualify (language: go)

Issue:
[infra] IPv6 の無効化
やってない気がする


Discussion / hints:

Fix patch:
diff --git a/provisioning/ansible/roles/common/tasks/main.yml b/provisioning/ansible/roles/common/tasks/main.yml
index 64940aad0..9b11160ae 100644
--- a/provisioning/ansible/roles/common/tasks/main.yml
+++ b/provisioning/ansible/roles/common/tasks/main.yml
@@ -3,6 +3,8 @@
   include: user.yml
 - name: "roles/common/tasks/main: include timezone.yml"
   include: timezone.yml
+- name: "roles/common/tasks/main: include sysctl.yml"
+  include: sysctl.yml
 - name: "roles/common/tasks/main: include package.yml"
   include: package.yml
 - name: "roles/common/tasks/main: include isucon11-qualify.yml"
diff --git a/provisioning/ansible/roles/common/tasks/sysctl.yml b/provisioning/ansible/roles/common/tasks/sysctl.yml
new file mode 100644
index 000000000..9dceb83b3
--- /dev/null
+++ b/provisioning/ansible/roles/common/tasks/sysctl.yml
@@ -0,0 +1,13 @@
+---
+- name: "roles/common/tasks/sysctl: Disable ipv6"
+  become_user: root
+  sysctl:
+    name: "{{ item.name }}"
+    value: "{{ item.value }}"
+    state: present
+  with_items:
+    - name: "net.ipv6.conf.all.disable_ipv6"
+      value: 1
+    - name: "net.ipv6.conf.default.disable_ipv6"
+      value: 1
+


Test patch: