mcmillian.dev/Jenkinsfile

15 lines
322 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',
2023-03-05 18:31:40 +00:00
inventory: 'hosts.ini',
2023-03-05 18:27:18 +00:00
credentialsId: 'igor'
)
}
2022-11-20 00:53:55 +00:00
}
2022-11-19 23:06:15 +00:00
}
}