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]"
|
||||
when: forgejo_version is defined and not forgejo_binary_dl.stat.exists
|
||||
|
||||
# - name: Copy forgejo binary to /usr/local/bin after successful download
|
||||
# copy:
|
||||
# remote_src: yes
|
||||
# src: "/tmp/forgejo-{{ forgejo_version }}"
|
||||
# dest: "/usr/local/bin/forgejo"
|
||||
# mode: 0755
|
||||
# owner: git
|
||||
# group: git
|
||||
- name: Copy forgejo binary to /usr/local/bin after successful download
|
||||
copy:
|
||||
remote_src: yes
|
||||
src: "/tmp/forgejo-{{ forgejo_version }}"
|
||||
dest: "/usr/local/bin/forgejo"
|
||||
mode: 0755
|
||||
owner: git
|
||||
group: git
|
||||
|
||||
- name: Create config directory
|
||||
file:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue