c12s-kubespray/roles/kubernetes/secrets/handlers/main.yml

16 lines
300 B
YAML
Raw Normal View History

---
- name: set secret_changed
command: /bin/true
notify:
- set secret_changed to true
- clear kubeconfig for root user
- name: set secret_changed to true
set_fact:
secret_changed: true
- name: clear kubeconfig for root user
file:
path: /root/.kube/config
state: absent