Skip to content

Commit

Permalink
update v2ray repo url, see v2ray/v2ray-core#2761
Browse files Browse the repository at this point in the history
  • Loading branch information
leewis101 committed Apr 28, 2021
1 parent f16e98c commit 02220e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- name: Set v2ray_version
set_fact:
v2ray_version: "{{ lookup('url',\
'https://api.github.com/repos/v2ray/v2ray-core/releases/latest')\
'https://api.github.com/repos/v2fly/v2ray-core/releases/latest')\
| from_json | json_query('tag_name') }}"
when: v2ray_version == 'latest'
run_once: true
Expand All @@ -24,7 +24,7 @@
set_fact:
"v2ray_sha256sum": "{{ v2ray_sha256sum | combine({
item: lookup('url',\
'https://github.com/v2ray/v2ray-core/releases/download/'\
'https://github.com/v2fly/v2ray-core/releases/download/'\
+ v2ray_version + '/v2ray-linux-' + item + '.zip.dgst')\
| regex_replace('.*SHA256= ([a-z0-9]+).*', '\\1')\
})
Expand Down Expand Up @@ -53,7 +53,7 @@
- name: Download v2ray binary
become: false
get_url:
url: "https://github.com/v2ray/v2ray-core/releases/download/\
url: "https://github.com/v2fly/v2ray-core/releases/download/\
{{ v2ray_version }}/{{ v2ray_binary }}"
dest: "/tmp/{{ v2ray_binary }}"
checksum: "sha256:{{ v2ray_sha256sum[v2ray_arch] }}"
Expand Down

0 comments on commit 02220e0

Please sign in to comment.