Enabled copying the new binary to its destination

This commit is contained in:
Philip (a-0) 2023-01-12 19:13:45 +01:00
parent 74a5759412
commit 457f8363f7

View file

@ -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: