Enabled copying the new binary to its destination
This commit is contained in:
parent
74a5759412
commit
457f8363f7
1 changed files with 8 additions and 8 deletions
|
@ -62,14 +62,14 @@
|
||||||
query: "(assets[?ends_with(name, 'amd64') == `true`].browser_download_url)[0]"
|
query: "(assets[?ends_with(name, 'amd64') == `true`].browser_download_url)[0]"
|
||||||
when: forgejo_version is defined and not forgejo_binary_dl.stat.exists
|
when: forgejo_version is defined and not forgejo_binary_dl.stat.exists
|
||||||
|
|
||||||
# - name: Copy forgejo binary to /usr/local/bin after successful download
|
- name: Copy forgejo binary to /usr/local/bin after successful download
|
||||||
# copy:
|
copy:
|
||||||
# remote_src: yes
|
remote_src: yes
|
||||||
# src: "/tmp/forgejo-{{ forgejo_version }}"
|
src: "/tmp/forgejo-{{ forgejo_version }}"
|
||||||
# dest: "/usr/local/bin/forgejo"
|
dest: "/usr/local/bin/forgejo"
|
||||||
# mode: 0755
|
mode: 0755
|
||||||
# owner: git
|
owner: git
|
||||||
# group: git
|
group: git
|
||||||
|
|
||||||
- name: Create config directory
|
- name: Create config directory
|
||||||
file:
|
file:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue