Edit Gitea Files
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
- name: Download newest gitea binary
|
- name: Download newest gitea binary
|
||||||
ansible.builtin.get_url:
|
ansible.builtin.get_url:
|
||||||
url: https://dl.gitea.com/gitea/1.21/gitea-1.21-linux-amd64
|
url: "{{ var_gitea_url }}"
|
||||||
dest: /usr/local/bin/gitea
|
dest: /usr/local/bin/gitea
|
||||||
mode: '0511'
|
mode: '0511'
|
||||||
|
|
||||||
|
20
gitea2.yml
20
gitea2.yml
@@ -1,20 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: gitea
|
|
||||||
become: true
|
|
||||||
become_user: root
|
|
||||||
tasks:
|
|
||||||
- name: Stop service gitea on debian, if running
|
|
||||||
ansible.builtin.systemd:
|
|
||||||
name: gitea
|
|
||||||
state: stopped
|
|
||||||
|
|
||||||
- name: Download newest gitea binary
|
|
||||||
ansible.builtin.get_url:
|
|
||||||
url: "{{ var_gitea_url }}"
|
|
||||||
dest: /usr/local/bin/gitea
|
|
||||||
mode: '0511'
|
|
||||||
|
|
||||||
- name: Start service gitea on debian, if not running
|
|
||||||
ansible.builtin.systemd:
|
|
||||||
name: gitea
|
|
||||||
state: started
|
|
Reference in New Issue
Block a user