diff options
author | binary <me@rgoncalves.se> | 2021-01-20 00:13:56 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2021-01-20 00:13:56 +0100 |
commit | c471d81cd0173467b896d8afa33565de21095852 (patch) | |
tree | 47821e53ba545c019c181f9f525f92074fb377db /roles/gitdaemon | |
parent | 78c2489d96296722e534dd95541b4f0ef3437e68 (diff) | |
download | infrastructure-c471d81cd0173467b896d8afa33565de21095852.tar.gz |
Failsafe for rc.conf.local existence
Diffstat (limited to 'roles/gitdaemon')
-rw-r--r-- | roles/gitdaemon/tasks/main.yml | 1 |
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 |