]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ansible: add mask-passwords plugin 148/head
authorKen Dreyer <kdreyer@redhat.com>
Thu, 22 Oct 2015 23:45:21 +0000 (17:45 -0600)
committerKen Dreyer <kdreyer@redhat.com>
Thu, 22 Oct 2015 23:47:54 +0000 (17:47 -0600)
https://wiki.jenkins-ci.org/display/JENKINS/Mask+Passwords+Plugin

Currently the jenkins-job-builder job relies on a static
/etc/jenkins_jobs.ini config file that we put into place on a slave by
hand. We do that to avoid exposing the account password that JJB uses.

The mask-passwords Jenkins plugin will allow us to dynamically write
passwords in to files on the fly. This means that we can construct
JJB's config file on the fly, or chacractl's config file, etc. It allows
us to avoid storing cryptographic secrets (passwords) on the slaves,
since the secret material will only be stored on the master.

ansible/master.yml

index a09fdf2815d8e0d83db4e195d3272ec14d456d09..2db2d77c9b2458c4ce4d27f2e08a74210ed60ba5 100644 (file)
@@ -29,6 +29,7 @@
       - 'credentials'
       - 'copyartifact'
       - 'github-oauth'
+      - 'mask-passwords'
 
     - port: 8080
     - prefix: '/build'