Clean up credentials
This commit is contained in:
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@@ -18,7 +18,7 @@ pipeline {
|
|||||||
$class: 'GitSCM',
|
$class: 'GitSCM',
|
||||||
branches: [[name: 'master']],
|
branches: [[name: 'master']],
|
||||||
extensions: [],
|
extensions: [],
|
||||||
userRemoteConfigs: [[credentialsId: 'tools-deploy-key', url: '_gitea@gitea.release11.com:R11/release11-tools.git']]
|
userRemoteConfigs: [[credentialsId: 'tools-deploy-key-gitea', url: '_gitea@gitea.release11.com:R11/release11-tools.git']]
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -31,10 +31,7 @@ pipeline {
|
|||||||
ansiblePlaybook(
|
ansiblePlaybook(
|
||||||
playbook: 'TOOLS.yml',
|
playbook: 'TOOLS.yml',
|
||||||
inventory: 'inventory/hosts',
|
inventory: 'inventory/hosts',
|
||||||
credentialsId: 'tools-deploy-key',
|
credentialsId: 'tools-deploy-key-netadm'
|
||||||
extraVars: [
|
|
||||||
login: 'netadm'
|
|
||||||
]
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user