Commit f31c4849 by Feanil Patel Committed by Michael Roytman

Make a new user that jenkins uses when it wants to do docker things.

parent 698ac0cd
...@@ -77,3 +77,5 @@ jenkins_tools_debian_pkgs: ...@@ -77,3 +77,5 @@ jenkins_tools_debian_pkgs:
- python-pycurl - python-pycurl
- psmisc - psmisc
- mysql-client-core-5.6 - mysql-client-core-5.6
jenkins_tools_docker_user: 'jenkins-docker-proxy'
...@@ -11,6 +11,9 @@ dependencies: ...@@ -11,6 +11,9 @@ dependencies:
jenkins_bundled_plugins: "{{ jenkins_tools_bundled_plugins }}" jenkins_bundled_plugins: "{{ jenkins_tools_bundled_plugins }}"
jenkins_debian_pkgs: "{{ jenkins_tools_debian_pkgs }}" jenkins_debian_pkgs: "{{ jenkins_tools_debian_pkgs }}"
# Needed to be able to build docker images. Used by Docker Image Builder Jobs. # Needed to be able to build docker images. Used by Docker Image Builder Jobs.
- role: user
user_info:
- name: '{{ jenkins_tools_docker_user }}'
- role: docker-tools - role: docker-tools
docker_users: docker_users:
- jenkins - '{{ jenkins_tools_docker_user }}'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment