From 457f8363f7e0e3be7d8a01c5b43c1a7b2b350514 Mon Sep 17 00:00:00 2001 From: "Philip (a-0)" <@ph:a-0.me> Date: Thu, 12 Jan 2023 19:13:45 +0100 Subject: [PATCH] Enabled copying the new binary to its destination --- tasks/main.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index c9a78e1..419f871 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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: