1
1
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_gitea.git synced 2024-08-16 11:39:50 +02:00

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

View file

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