mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2024-09-28 03:57:30 +02:00
Merge pull request #119 from k3s-io/reset-improvements
Reset role improvements
This commit is contained in:
commit
b12a3840e1
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user