mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Move everything to /library/gitea, create more variables
This commit is contained in:
parent
fc7ff3bc3b
commit
a6d4990079
2 changed files with 18 additions and 5 deletions
|
@ -1,3 +1,10 @@
|
|||
- name: Create Gitea root directory
|
||||
file:
|
||||
path: "{{ gitea_root_directory }}"
|
||||
state: directory
|
||||
# owner: gitea
|
||||
# group: gitea
|
||||
|
||||
- name: Download Gitea binary
|
||||
get_url:
|
||||
url: "{{ gitea_download_url }}"
|
||||
|
@ -10,7 +17,7 @@
|
|||
- name: Download Gitea GPG signature
|
||||
get_url:
|
||||
url: "{{ gitea_integrity_url }}"
|
||||
dest: "{{ gitea_install_path }}.asc"
|
||||
dest: "{{ gitea_checksum_path }}"
|
||||
tags:
|
||||
- install
|
||||
when: internet_available
|
||||
|
@ -18,9 +25,10 @@
|
|||
- name: Verify Gitea binary with GPG signature
|
||||
shell: |
|
||||
gpg --keyserver pgp.mit.edu --recv 7C9E68152594688862D62AF62D9AE806EC1592E2
|
||||
gpg --verify {{ gitea_install_path }}.asc {{ gitea_install_path }}
|
||||
gpg --verify {{ gitea_checksum_path }} {{ gitea_install_path }}
|
||||
tags:
|
||||
- install
|
||||
- verify
|
||||
|
||||
- name: Create 'gitea' service
|
||||
template:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue