Use systemd service for git repository.
This commit is contained in:
parent
d7a1a146dd
commit
e51f6c5e2d
3 changed files with 25 additions and 23 deletions
|
@ -70,12 +70,8 @@
|
|||
update: no
|
||||
become_user: "ansible"
|
||||
|
||||
- name: install xinetd
|
||||
apt:
|
||||
name: xinetd
|
||||
|
||||
- name: enable git repo
|
||||
- name: start git-repo
|
||||
template:
|
||||
src: git-repo.j2
|
||||
dest: "/etc/xinetd.d/git-repo"
|
||||
notify: "reload xinetd"
|
||||
dest: "/etc/systemd/system/git-repo.service"
|
||||
notify: start git-repo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue