summaryrefslogtreecommitdiff
path: root/roles/kubernetes/kubeadm/base/tasks/main.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-01-11 03:03:17 +0100
committerChristian Pointner <equinox@spreadspace.org>2020-01-31 22:31:22 +0100
commit25a978d8ce30bdbb62a0a82443501a4f0d2d6cc2 (patch)
treef156180e2236ae46a64618d06528596cfe6c6542 /roles/kubernetes/kubeadm/base/tasks/main.yml
parentkubeguard works now (diff)
kuberntes: base installation works now
Diffstat (limited to 'roles/kubernetes/kubeadm/base/tasks/main.yml')
-rw-r--r--roles/kubernetes/kubeadm/base/tasks/main.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/kubernetes/kubeadm/base/tasks/main.yml b/roles/kubernetes/kubeadm/base/tasks/main.yml
index 76953498..414fb67a 100644
--- a/roles/kubernetes/kubeadm/base/tasks/main.yml
+++ b/roles/kubernetes/kubeadm/base/tasks/main.yml
@@ -21,6 +21,7 @@
name: "/etc/default/kubelet"
regexp: '^KUBELET_EXTRA_ARGS='
line: 'KUBELET_EXTRA_ARGS=--node-ip={{ kubernetes_kubelet_node_ip }}'
+ create: yes
- name: add kubectl/kubeadm completion for shells
loop:
@@ -29,7 +30,7 @@
blockinfile:
path: "/root/.{{ item }}rc"
create: yes
- marker: "### {mark} ANSIBLE MANAGED BLOCK for kubectl ###"
+ marker: "### {mark} ANSIBLE MANAGED BLOCK for kubectl/kubeadm ###"
content: |
source <(kubectl completion {{ item }})
source <(kubeadm completion {{ item }})