Merge pull request #119 from k3s-io/reset-improvements

Reset role improvements
This commit is contained in:
Julien DOCHE 2021-02-23 09:19:10 +01:00 committed by GitHub
commit b12a3840e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -30,12 +30,12 @@
name: "{{ item }}"
state: absent
with_items:
- /usr/local/bin/k3s
- "{{ systemd_dir }}/k3s.service"
- "{{ systemd_dir }}/k3s-node.service"
- /etc/rancher/k3s
- /var/lib/kubelet
- /var/lib/rancher/k3s
- /usr/local/bin/k3s
- name: daemon_reload
systemd:

View File

@ -6,6 +6,7 @@
executable: /bin/bash
failed_when: false
changed_when: get_mounted_filesystems.stdout | length > 0
check_mode: false
- name: Umount filesystem
mount: