added Jenkinsfile
All checks were successful
multibranch_ansible/pipeline/head This commit looks good

This commit is contained in:
2023-06-02 09:47:19 +02:00
parent bdfcfb4959
commit 261831d1cb

6
Jenkinsfile vendored
View File

@@ -13,6 +13,12 @@ pipeline {
echo "Hello from bash" echo "Hello from bash"
echo "Who I'm $SHELL" echo "Who I'm $SHELL"
''' '''
}
}
stage('Ansible') {
agent any
steps {
ansiblePlaybook credentialsId: '209d0fa2-bbd7-4af5-9aac-deec1b6aa7ec', inventory: '192.168.150.40,', playbook: 'test_play.yml' ansiblePlaybook credentialsId: '209d0fa2-bbd7-4af5-9aac-deec1b6aa7ec', inventory: '192.168.150.40,', playbook: 'test_play.yml'
} }
} }