Skip to content

Commit

Permalink
Cleanup ansible_user kubeconfig
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Nola <[email protected]>
  • Loading branch information
dereknola committed Nov 9, 2023
1 parent c4ba893 commit d0aaad8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions playbook/reset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@
ansible.builtin.command:
cmd: k3s-uninstall.sh
removes: /var/lib/rancher/k3s/*
- name: Remove user kubeconfig
ansible.builtin.file:
path: /home/{{ ansible_user }}/.kube/config
state: absent

0 comments on commit d0aaad8

Please sign in to comment.