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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user