From 1912df7e3ea1e2fa0f3e5e20439deee3968679dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Unai=20Arr=C3=ADen?= <unaittxu@gmail.com>
Date: Fri, 12 Jun 2020 09:55:55 +0200
Subject: [PATCH] Create /etc/gai.conf if not exists when disable_ipv6_dns is
 'true' (#6258)

---
 roles/kubernetes/preinstall/tasks/0080-system-configurations.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/roles/kubernetes/preinstall/tasks/0080-system-configurations.yml b/roles/kubernetes/preinstall/tasks/0080-system-configurations.yml
index 7495649c6..1ef46f6ee 100644
--- a/roles/kubernetes/preinstall/tasks/0080-system-configurations.yml
+++ b/roles/kubernetes/preinstall/tasks/0080-system-configurations.yml
@@ -25,6 +25,7 @@
     dest: /etc/gai.conf
     line: "precedence ::ffff:0:0/96  100"
     state: present
+    create: yes
     backup: yes
   when:
     - disable_ipv6_dns
-- 
GitLab