diff --git a/roles/gitea/defaults/main.yml b/roles/gitea/defaults/main.yml index 4be6dec..c0d4a12 100644 --- a/roles/gitea/defaults/main.yml +++ b/roles/gitea/defaults/main.yml @@ -1,6 +1,6 @@ --- -gitea_version: "1.15.6" +gitea_version: "1.16.2" gitea_user: git gitea_base_path: "/opt/gitea" gitea_data_path: "{{ gitea_base_path }}/data" diff --git a/roles/gitea/tasks/main.yml b/roles/gitea/tasks/main.yml index aa60f2e..088874f 100644 --- a/roles/gitea/tasks/main.yml +++ b/roles/gitea/tasks/main.yml @@ -36,17 +36,9 @@ mode: 0600 register: gitea_user_ssh_key -- name: Create directory to place forwarding script into - file: - path: "/app/gitea" - state: directory - mode: 0770 - owner: "{{ gitea_user_res.uid }}" - group: "{{ gitea_user_res.group }}" - - name: Create forwarding script copy: - dest: "/app/gitea/gitea" + dest: "/usr/local/bin/gitea" owner: "{{ gitea_user_res.uid }}" group: "{{ gitea_user_res.group }}" mode: 0700