Move credentials over to private
This commit is contained in:
parent
6155d32d7d
commit
835b45100a
2 changed files with 5 additions and 25 deletions
|
@ -1,25 +0,0 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
|
||||||
<com.cloudbees.plugins.credentials.SystemCredentialsProvider plugin="credentials@1.4">
|
|
||||||
<credentials>
|
|
||||||
<com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey plugin="ssh-credentials@0.3">
|
|
||||||
<scope>SYSTEM</scope>
|
|
||||||
<id>d844d352-af1d-466b-9fc9-cbb19348103a</id>
|
|
||||||
<description>172.16.5.12</description>
|
|
||||||
<username>jenkins_slave</username>
|
|
||||||
<passphrase>bEcypl4niEJMODrtoQ7iCw==</passphrase>
|
|
||||||
<privateKeySource class="com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey$FileOnMasterPrivateKeySource">
|
|
||||||
<privateKeyFile>/var/tmp/jenkins_master_id_rsa</privateKeyFile>
|
|
||||||
</privateKeySource>
|
|
||||||
</com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey>
|
|
||||||
<com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey plugin="ssh-credentials@0.3">
|
|
||||||
<scope>SYSTEM</scope>
|
|
||||||
<id>950d5dd7-acb2-402a-8670-21f152d04928</id>
|
|
||||||
<description>172.16.5.10</description>
|
|
||||||
<username>jenkins_slave</username>
|
|
||||||
<passphrase>bEcypl4niEJMODrtoQ7iCw==</passphrase>
|
|
||||||
<privateKeySource class="com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey$FileOnMasterPrivateKeySource">
|
|
||||||
<privateKeyFile>/var/tmp/jenkins_master_id_rsa</privateKeyFile>
|
|
||||||
</privateKeySource>
|
|
||||||
</com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey>
|
|
||||||
</credentials>
|
|
||||||
</com.cloudbees.plugins.credentials.SystemCredentialsProvider>
|
|
|
@ -119,6 +119,11 @@
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
|
||||||
|
- name: add jenkins credentials it can connect to clients
|
||||||
|
action: copy src="{{ private }}/files/jenkins/ssh/credentials.xml" dest=/var/lib/jenkins/
|
||||||
|
tags:
|
||||||
|
- config
|
||||||
|
|
||||||
- name: start jenkins itself
|
- name: start jenkins itself
|
||||||
action: service name=jenkins state=running
|
action: service name=jenkins state=running
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue