This commit is contained in:
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@@ -1,10 +1,9 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
stages {
|
stages {
|
||||||
stage('Hello') {
|
stage(" execute Ansible") {
|
||||||
steps {
|
steps {
|
||||||
echo 'Hello World'
|
ansiblePlaybook playbook: 'test_play.yml'
|
||||||
playbook: test_play.yml
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user