Skip to content

Commit

Permalink
fix: remove legacy state if present and bypass ansible galaxy (#288)
Browse files Browse the repository at this point in the history
* fix: remove legacy state directory

* fix: bypass ansible galaxy to resolve connection timeouts
  • Loading branch information
artis3n authored Feb 3, 2023
1 parent 8ac6bd8 commit b9342a6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion requirements.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
collections:
- name: community.general
- name: https://github.com/ansible-collections/community.general
type: git
5 changes: 5 additions & 0 deletions tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
when: ansible_distribution in tailscale_opensuse_family_distros
ansible.builtin.include_tasks: opensuse/install.yml

- name: Install | Remove legacy state folder
ansible.builtin.file:
path: "{{ ansible_env.HOME }}/.artis3n-tailscale"
state: absent

- name: Install | Determine state folder
ansible.builtin.set_fact:
# Following https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
Expand Down

0 comments on commit b9342a6

Please sign in to comment.