# 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