1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Add plays to verify Gitea binary

This commit is contained in:
Aidan Fitzgerald 2018-10-18 03:36:00 -04:00
parent e351a1c7c1
commit fc7ff3bc3b
2 changed files with 16 additions and 0 deletions

View file

@ -7,6 +7,21 @@
- install
when: internet_available
- name: Download Gitea GPG signature
get_url:
url: "{{ gitea_integrity_url }}"
dest: "{{ gitea_install_path }}.asc"
tags:
- install
when: internet_available
- name: Verify Gitea binary with GPG signature
shell: |
gpg --keyserver pgp.mit.edu --recv 7C9E68152594688862D62AF62D9AE806EC1592E2
gpg --verify {{ gitea_install_path }}.asc {{ gitea_install_path }}
tags:
- install
- name: Create 'gitea' service
template:
src: gitea.service.j2