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
|
- /usr/local/bin
|
||||||
- "{{ zerotier_dir }}"
|
- "{{ zerotier_dir }}"
|
||||||
|
|
||||||
- name: Download ZeroTier static binary archive
|
- name: Download and extract ZeroTier binary
|
||||||
ansible.builtin.get_url:
|
ansible.builtin.shell:
|
||||||
url: "{{ zerotier_binary_url }}"
|
cmd: |
|
||||||
dest: /tmp/zerotier-one.gz
|
set -eu
|
||||||
mode: "0644"
|
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
|
- name: Extract ZeroTier binary
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
|
|||||||
Reference in new issue
Block a user