From 6bc8f1cb7a362c2ea2d22e7d408affc14d7cec4e Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Mon, 2 Nov 2015 16:12:02 -0700 Subject: [PATCH] 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. --- ansible/slave.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}' -- 2.39.5