aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2021-01-20 00:13:56 +0100
committerbinary <me@rgoncalves.se>2021-01-20 00:13:56 +0100
commitc471d81cd0173467b896d8afa33565de21095852 (patch)
tree47821e53ba545c019c181f9f525f92074fb377db
parent78c2489d96296722e534dd95541b4f0ef3437e68 (diff)
downloadinfrastructure-c471d81cd0173467b896d8afa33565de21095852.tar.gz
Failsafe for rc.conf.local existence
-rw-r--r--roles/gitdaemon/tasks/main.yml1
1 files changed, 1 insertions, 0 deletions
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
remember that computers suck.