diff --git a/Jenkinsfile b/Jenkinsfile index af541df..e7b0d38 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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") }