fix agent label
Some checks failed
thrrgilag/morgan.mcmillian.dev/pipeline/head There was a failure building this commit

This commit is contained in:
Morgan McMillian 2023-11-10 16:17:59 -08:00
parent 030ff6c64b
commit 5261d5e005

3
Jenkinsfile vendored
View file

@ -1,5 +1,5 @@
pipeline {
agent none
agent agent { label 'ansible' }
environment {
CHAT = "morgan@mcmillian.dev"
MAIL = "morgan@mcmillian.dev"
@ -13,7 +13,6 @@ pipeline {
}
}
stage('Execute playbook') {
agent { label 'ansible' }
steps {
ansiblePlaybook(playbook: "main.yaml", inventory: "hosts.ini", credentialsId: "igor")
}