added Jenkinsfile
Some checks failed
multibranch_ansible/pipeline/head There was a failure building this commit

This commit is contained in:
2023-06-06 10:52:30 +02:00
parent 4aeceb4cd9
commit d94d89ed9d

9
Jenkinsfile vendored
View File

@@ -24,11 +24,12 @@ pipeline {
} }
} }
stage('Ansible Remote') { stage('Ansible Remote') {
agent { agent any
label 'master' // {
} // label 'master'
// }
steps { steps {
ansiblePlaybook credentialsId: '35ed3bb3-d43d-409a-a789-762e1eda4aaf', inventory: '192.168.50.40,', playbook: 'test_play.yml' ansiblePlaybook credentialsId: '209d0fa2-bbd7-4af5-9aac-deec1b6aa7ec', inventory: '192.168.50.40,', playbook: 'test_play.yml'
} }
} }