From: Ken Dreyer Date: Mon, 2 Nov 2015 23:12:02 +0000 (-0700) Subject: ansible: use "ceph-jenkins" as API user X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F200%2Fhead;p=ceph-build.git ansible: use "ceph-jenkins" as API user Jenkins authorizes this user account to add or remove slaves. In order to have permission to add or remove slaves, we have to give this account administrator rights to Jenkins. Prior to this commit, we had a system user "prado" in Jenkins with administrator rights. Since we do not control this user account on GitHub.com, it is better to use a GitHub.com user account that we control. --- diff --git a/ansible/slave.yml.j2 b/ansible/slave.yml.j2 index 3b230909..2289fe5a 100644 --- a/ansible/slave.yml.j2 +++ b/ansible/slave.yml.j2 @@ -6,7 +6,7 @@ vars: - jenkins_user: 'jenkins-build' # jenkins API credentials: - - api_user: 'prado' + - api_user: 'ceph-jenkins' - token: '${token}' - api_uri: 'https://jenkins.ceph.com' - nodename: '${nodename}'