added Jenkinsfile
All checks were successful
multibranch_ansible/pipeline/head This commit looks good
All checks were successful
multibranch_ansible/pipeline/head This commit looks good
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -24,7 +24,9 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Ansible Remote') {
|
stage('Ansible Remote') {
|
||||||
agent master
|
agent {
|
||||||
|
label 'master'
|
||||||
|
}
|
||||||
steps {
|
steps {
|
||||||
ansiblePlaybook credentialsId: '35ed3bb3-d43d-409a-a789-762e1eda4aaf', inventory: '192.168.50.40,', playbook: 'test_play.yml'
|
ansiblePlaybook credentialsId: '35ed3bb3-d43d-409a-a789-762e1eda4aaf', inventory: '192.168.50.40,', playbook: 'test_play.yml'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user