Address standalone kubelet config case

Also place in global vars and do not repeat the kube_*_config_dir
and kube_namespace vars for better code maintainability and UX.

Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
This commit is contained in:
Bogdan Dobrelya
2016-12-13 11:43:06 +01:00
parent 45135ad3e4
commit c75f394707
35 changed files with 92 additions and 150 deletions

View File

@@ -34,7 +34,7 @@
- name: reset | delete some files and directories
file: path={{ item }} state=absent
with_items:
- /etc/kubernetes/
- "{{kube_config_dir}}"
- /var/lib/kubelet
- /var/lib/etcd
- /etc/ssl/etcd