15 lines
339 B
Text
15 lines
339 B
Text
|
pipeline {
|
||
|
agent { label "ansible" }
|
||
|
stages {
|
||
|
stage('Execute playbook') {
|
||
|
steps {
|
||
|
ansiblePlaybook(
|
||
|
playbook: 'main.yaml',
|
||
|
inventory: 'inventory.yaml',
|
||
|
credentialsId: 'onedrop-vetinari'
|
||
|
)
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|