diff --git a/Jenkinsfile b/Jenkinsfile index bcb9fd3..36bc019 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -24,7 +24,9 @@ pipeline { } } stage('Ansible Remote') { - agent master + agent { + label 'master' + } steps { ansiblePlaybook credentialsId: '35ed3bb3-d43d-409a-a789-762e1eda4aaf', inventory: '192.168.50.40,', playbook: 'test_play.yml' }