Update playbooks/alpine/install-zerotier.yml
This commit is contained in:
1 parent
0d46f6b4ba
commit
5a51daca52
1 file changed
+8
-5
@@ -31,11 +31,14 @@
|
||||
- /usr/local/bin
|
||||
- "{{ zerotier_dir }}"
|
||||
|
||||
- name: Download ZeroTier static binary archive
|
||||
ansible.builtin.get_url:
|
||||
url: "{{ zerotier_binary_url }}"
|
||||
dest: /tmp/zerotier-one.gz
|
||||
mode: "0644"
|
||||
- name: Download and extract ZeroTier binary
|
||||
ansible.builtin.shell:
|
||||
cmd: |
|
||||
set -eu
|
||||
curl -fL "{{ zerotier_binary_url }}" -o /tmp/zerotier-one.gz
|
||||
gzip -dc /tmp/zerotier-one.gz > /usr/local/bin/zerotier-one
|
||||
chmod 0755 /usr/local/bin/zerotier-one
|
||||
creates: /usr/local/bin/zerotier-one
|
||||
|
||||
- name: Extract ZeroTier binary
|
||||
ansible.builtin.command:
|
||||
|
||||
Reference in new issue
Block a user