blob: 0e460b5aefd81c07a954e60a46c896892609e28b (
plain) (
tree)
|
|
# git ~~ roles/git/tasks/main.yml
# Init git user and settings
---
- name: enable gitdaemon
lineinfile:
path: /etc/rc.conf.local
regexp: "^gitdaemon_flags="
line: "gitdaemon_flags=--reuseaddr --base-path={{ gitdaemon_git_dir }}"
create: true
when: ansible_distribution == "OpenBSD"
- name: start and enable git-daemon service
service:
name: gitdaemon
state: restarted
enabled: true
|