jenkins-slave: Allow Jenkins to connect to Docker

In order to allow Jenkins to connect to the Docker daemon socket, the
socket must be owned by the *docker* group, and the *jenkins* user must
be a member of it.
This commit is contained in:
2019-09-19 19:11:47 -05:00
parent b2cc467581
commit fb352cc920
2 changed files with 2 additions and 1 deletions

View File

@@ -15,7 +15,7 @@
system=yes
home=/var/lib/jenkins
createhome=yes
groups=jenkins
groups=jenkins,docker
append=yes
state=present
- name: ensure jenkins home directory permissions are correct