make sure git is installed

gitea service fails to start if the git binary is not present on the system
This commit is contained in:
Jens Timmerman 2020-08-16 01:43:52 +02:00 committed by Thomas Maurice
parent 8b5ae578f4
commit 56d9e08c64
1 changed files with 5 additions and 0 deletions

View File

@ -40,6 +40,11 @@
- include: install_systemd.yml
when: ansible_service_mgr == "systemd"
- name: 'Install git'
package:
name: 'git'
state: 'present'
- name: "Configure gitea"
template:
src: gitea.ini.j2