CU-eprjdn added git server role
This commit is contained in:
11
ansible/roles/git/tasks/systemd.yml
Normal file
11
ansible/roles/git/tasks/systemd.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
- name: create the git daemon systemd service
|
||||
become: true
|
||||
template:
|
||||
src: "templates/{{ item }}.j2"
|
||||
dest: "/etc/systemd/system/{{ item }}"
|
||||
mode: 0644
|
||||
with_items:
|
||||
- git-daemon.service
|
||||
notify: start-gitdaemon
|
||||
tags: git, git-systemd
|
||||
Reference in New Issue
Block a user