fix agent label
Some checks failed
thrrgilag/morgan.mcmillian.dev/pipeline/head There was a failure building this commit
Some checks failed
thrrgilag/morgan.mcmillian.dev/pipeline/head There was a failure building this commit
This commit is contained in:
parent
030ff6c64b
commit
5261d5e005
1 changed files with 1 additions and 2 deletions
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -1,5 +1,5 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
agent none
|
agent agent { label 'ansible' }
|
||||||
environment {
|
environment {
|
||||||
CHAT = "morgan@mcmillian.dev"
|
CHAT = "morgan@mcmillian.dev"
|
||||||
MAIL = "morgan@mcmillian.dev"
|
MAIL = "morgan@mcmillian.dev"
|
||||||
|
@ -13,7 +13,6 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Execute playbook') {
|
stage('Execute playbook') {
|
||||||
agent { label 'ansible' }
|
|
||||||
steps {
|
steps {
|
||||||
ansiblePlaybook(playbook: "main.yaml", inventory: "hosts.ini", credentialsId: "igor")
|
ansiblePlaybook(playbook: "main.yaml", inventory: "hosts.ini", credentialsId: "igor")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue