minor fix

pull/131/head
jmgao 2018-03-02 10:44:55 +08:00
parent ed70790461
commit 9d83fe5a5c
1 changed files with 1 additions and 3 deletions

View File

@ -18,7 +18,6 @@
with_items: with_items:
- "/var/lib/kubelet/" - "/var/lib/kubelet/"
- "/var/lib/kube-proxy/" - "/var/lib/kube-proxy/"
- "/etc/kubernetes/"
- "/etc/systemd/system/kubelet.service" - "/etc/systemd/system/kubelet.service"
- "/etc/systemd/system/kube-proxy.service" - "/etc/systemd/system/kube-proxy.service"
# - "/root/local/bin/" # - "/root/local/bin/"
@ -36,7 +35,6 @@
- "/etc/systemd/system/kube-apiserver.service" - "/etc/systemd/system/kube-apiserver.service"
- "/etc/systemd/system/kube-controller-manager.service" - "/etc/systemd/system/kube-controller-manager.service"
- "/etc/systemd/system/kube-scheduler.service" - "/etc/systemd/system/kube-scheduler.service"
- "/etc/kubernetes/"
- hosts: - hosts:
- kube-master - kube-master
@ -123,7 +121,7 @@
- deploy - deploy
- etcd - etcd
- lb - lb
task: tasks:
- name: 清理证书目录和文件 - name: 清理证书目录和文件
file: name={{ item }} state=absent file: name={{ item }} state=absent
with_items: with_items: