From c6f6940459761d3c8da2f026d4f1c27e3072602a Mon Sep 17 00:00:00 2001
From: Kenichi Omichi <ken1ohmichi@gmail.com>
Date: Fri, 27 Nov 2020 03:54:49 -0800
Subject: [PATCH] Fix warning of "Enable ip forwarding" (#6953)

The task outputs the following warning:

  TASK [kubernetes/preinstall : Enable ip forwarding]
  [WARNING]: The value 1 (type int) in a string field was converted
  to u'1' (type string). If this does not look like what you expect,
  quote the entire value to ensure it does not change.
---
 .../kubernetes/preinstall/tasks/0080-system-configurations.yml  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/roles/kubernetes/preinstall/tasks/0080-system-configurations.yml b/roles/kubernetes/preinstall/tasks/0080-system-configurations.yml
index 35cc0b0d5..be0200921 100644
--- a/roles/kubernetes/preinstall/tasks/0080-system-configurations.yml
+++ b/roles/kubernetes/preinstall/tasks/0080-system-configurations.yml
@@ -58,7 +58,7 @@
   sysctl:
     sysctl_file: "{{ sysctl_file_path }}"
     name: net.ipv4.ip_forward
-    value: 1
+    value: "1"
     state: present
     reload: yes
 
-- 
GitLab