stuff
This commit is contained in:
parent
fe1cd67756
commit
ce4cb19597
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue