Skip to content

Commit

Permalink
fix: align uninstall behavior across distros
Browse files Browse the repository at this point in the history
  • Loading branch information
artis3n committed Mar 7, 2024
1 parent b849b08 commit 5bf42e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion tasks/debian/uninstall.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
ansible.builtin.apt:
name: "{{ tailscale_package }}"
state: absent
purge: true

- name: Debian | Remove Tailscale Deb
become: true
Expand Down
4 changes: 2 additions & 2 deletions tasks/uninstall.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
when: ansible_distribution in tailscale_opensuse_family_distros
ansible.builtin.include_tasks: opensuse/uninstall.yml

- name: Uninstall | Destroy Tailscale Package State
- name: Uninstall | Remove Tailscale Daemon State and Logs
become: true
ansible.builtin.file:
path: "/var/lib/tailscale/tailscaled.state"
path: "/var/lib/tailscale"
state: absent

0 comments on commit 5bf42e7

Please sign in to comment.