From c471d81cd0173467b896d8afa33565de21095852 Mon Sep 17 00:00:00 2001 From: binary Date: Wed, 20 Jan 2021 00:13:56 +0100 Subject: Failsafe for rc.conf.local existence --- roles/gitdaemon/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/gitdaemon/tasks/main.yml b/roles/gitdaemon/tasks/main.yml index f155c1d..0e460b5 100644 --- a/roles/gitdaemon/tasks/main.yml +++ b/roles/gitdaemon/tasks/main.yml @@ -9,6 +9,7 @@ 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 -- cgit v1.2.3