This commit is contained in:
Kekskurse 2023-08-05 19:53:24 +02:00
parent fe1cd67756
commit ce4cb19597
Signed by: kekskurse
GPG key ID: 728ACCB59341E7E4

View file

@ -9,7 +9,7 @@
ansible.builtin.service: ansible.builtin.service:
name: "forgejo" name: "forgejo"
state: restarted state: restarted
tasks: tasks:
- name: Install a list of packages - name: Install a list of packages
ansible.builtin.apt: ansible.builtin.apt:
@ -46,7 +46,7 @@
group: git group: git
mode: '0500' mode: '0500'
- name: Download Gitea - name: Download Forgejo
get_url: get_url:
url: "https://codeberg.org/forgejo/forgejo/releases/download/v{{ forgejo }}/forgejo-{{ forgejo }}-linux-amd64" url: "https://codeberg.org/forgejo/forgejo/releases/download/v{{ forgejo }}/forgejo-{{ forgejo }}-linux-amd64"
dest: "/usr/local/bin/forgejo-{{forgejo}}-linux-amd64" dest: "/usr/local/bin/forgejo-{{forgejo}}-linux-amd64"
@ -55,7 +55,7 @@
- name: Create a symbolic link - name: Create a symbolic link
ansible.builtin.file: ansible.builtin.file:
src: "/usr/local/bin/forgejo-{{forgejo}}-linux-amd64" src: "/usr/local/bin/forgejo-{{forgejo}}-linux-amd64"
dest: "/usr/local/bin/forgejo " dest: "/usr/local/bin/forgejo"
state: link state: link
notify: notify:
- Restart forgejo - Restart forgejo