mcmillian.dev/Jenkinsfile

15 lines
339 B
Text
Raw Normal View History

2022-11-19 23:06:15 +00:00
pipeline {
2022-11-20 01:34:15 +00:00
agent { label "ansible" }
stages {
stage('Execute playbook') {
steps {
ansiblePlaybook(
playbook: 'main.yaml',
2022-11-20 01:42:19 +00:00
inventory: 'inventory.yaml',
credentialsId: 'onedrop-vetinari'
)
}
2022-11-20 00:53:55 +00:00
}
2022-11-19 23:06:15 +00:00
}
}