diff options
author | Lars Wirzenius <lwirzenius@wikimedia.org> | 2019-07-04 17:53:13 +0300 |
---|---|---|
committer | Lars Wirzenius <lwirzenius@wikimedia.org> | 2019-07-04 17:53:13 +0300 |
commit | d9a5c08c7a350b6fa612a1a141d9e1cd91871b4d (patch) | |
tree | 52085f60e5f0825da965801ecfbe09be8fdf3ada /roles | |
parent | fd722cca3089a3fe6f7620f57d6e4b84be94e67b (diff) | |
download | wmf-gitlab-d9a5c08c7a350b6fa612a1a141d9e1cd91871b4d.tar.gz |
Add: haproxy, launch vcsworker from systemd
Diffstat (limited to 'roles')
-rw-r--r-- | roles/vcsworker/tasks/main.yml | 11 |
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 |