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:
parent
8b5ae578f4
commit
56d9e08c64
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue