summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorLars Wirzenius <lwirzenius@wikimedia.org>2019-07-04 17:53:13 +0300
committerLars Wirzenius <lwirzenius@wikimedia.org>2019-07-04 17:53:13 +0300
commitd9a5c08c7a350b6fa612a1a141d9e1cd91871b4d (patch)
tree52085f60e5f0825da965801ecfbe09be8fdf3ada /roles
parentfd722cca3089a3fe6f7620f57d6e4b84be94e67b (diff)
downloadwmf-gitlab-d9a5c08c7a350b6fa612a1a141d9e1cd91871b4d.tar.gz
Add: haproxy, launch vcsworker from systemd
Diffstat (limited to 'roles')
-rw-r--r--roles/vcsworker/tasks/main.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/vcsworker/tasks/main.yml b/roles/vcsworker/tasks/main.yml
index 955ae55..a2ca67b 100644
--- a/roles/vcsworker/tasks/main.yml
+++ b/roles/vcsworker/tasks/main.yml
@@ -71,3 +71,14 @@
owner: _wmf
group: _wmf
mode: '0600'
+
+- name: "install vcsworker.service"
+ copy:
+ src: vcsworker.service
+ dest: /lib/systemd/system/vcsworker.service
+
+- name: "enable and (re)start vcsworker"
+ systemd:
+ name: vcsworker.service
+ enabled: yes
+ state: restarted