]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commit
slave.yml: Add jenkins-build user to jenkins-build group 1366/head
authorDavid Galloway <dgallowa@redhat.com>
Thu, 15 Aug 2019 16:41:03 +0000 (12:41 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Thu, 15 Aug 2019 16:57:50 +0000 (12:57 -0400)
commit88854441f4f07e3a383633225f91036bcc089617
treea65282c454f53d4a830b370122a20456c1a48816
parent2a60f52303df5af8e5a5b8f38a747c5e0b67d67f
slave.yml: Add jenkins-build user to jenkins-build group

On ubuntu, at least, with the addition of the "create a jenkins-build group" task, the creation of the user wasn't adding the user to the group.  I discovered this by seeing a docker command fail after the socket was 'chgrp'ed to jenkins-build

```
+ sudo chgrp jenkins-build /var/run/docker.sock
+ do_clean
+ make clean.all
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock
```

I logged in to the slave and confirmed this was the case.

Signed-off-by: David Galloway <dgallowa@redhat.com>
ansible/slave.yml