From 96ee854aedfb6b1ee704fec1e8e8fea6351705fb Mon Sep 17 00:00:00 2001 From: Shkiv Date: Fri, 19 Apr 2019 22:11:09 +0300 Subject: [PATCH] Update kubelet-setup.yml https://github.com/geerlingguy/ansible-role-kubernetes/issues/42 --- tasks/kubelet-setup.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/kubelet-setup.yml b/tasks/kubelet-setup.yml index 939046e..05a4622 100644 --- a/tasks/kubelet-setup.yml +++ b/tasks/kubelet-setup.yml @@ -15,7 +15,7 @@ set_fact: kubelet_args_path: '/etc/systemd/system/kubelet.service.d/10-kubeadm.conf' kubelet_args_line: "{{ 'Environment=\"KUBELET_EXTRA_ARGS=' + kubernetes_kubelet_extra_args + '\"' }}" - kubelet_args_regexp: '^Environment=' + kubelet_args_regexp: '^Environment="KUBELET_EXTRA_ARGS=' when: not kubelet_environment_file.stat.exists - name: Configure KUBELET_EXTRA_ARGS.