From 5261d5e005ffa47e7856448dab02d9b0a812f8ec Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Fri, 10 Nov 2023 16:17:59 -0800 Subject: [PATCH] fix agent label --- Jenkinsfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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") }