added Jenkinsfile
Some checks failed
multibranch_ansible/pipeline/head There was a failure building this commit
Some checks failed
multibranch_ansible/pipeline/head There was a failure building this commit
This commit is contained in:
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@@ -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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user