Skip to content

Commit 12bd85d

Browse files
authored
Add the runner_user when the service is installed
When there is a custom `runner_user` the services is installed as `root`. ```bash Usage: ./svc.sh [install, start, stop, status, uninstall] Commands: install [user]: Install runner service as Root or specified user. ``` Former-commit-id: b434987
1 parent da84fca commit 12bd85d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/install_runner.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
- install
7676

7777
- name: Install service
78-
command: "./svc.sh install"
78+
command: "./svc.sh install {{ runner_user }}"
7979
args:
8080
chdir: "{{ runner_dir }}"
8181
when: runner_service not in services
@@ -88,4 +88,4 @@
8888
state: started
8989
enabled: yes
9090
tags:
91-
- install
91+
- install

0 commit comments

Comments
 (0)