kubeasz/roles/kube-lb/clean-kube-lb.yml

17 lines
340 B
YAML
Raw Normal View History

- hosts:
- kube-master
- kube-node
tasks:
- name: stop and disable kube-lb service
service:
name: kube-lb
state: stopped
enabled: no
ignore_errors: true
- name: remove files and dirs
file: name={{ item }} state=absent
with_items:
- "/etc/kube-lb"
- "/etc/systemd/system/kube-lb.service"