22 lines
501 B
Plaintext
22 lines
501 B
Plaintext
|
pipeline {
|
||
|
agent any
|
||
|
|
||
|
stages {
|
||
|
stage('clone') {
|
||
|
steps {
|
||
|
git branch: 'master', url: 'ssh://gitea@git.lulzette.ru:3111/lulzette/devops-shit.git'
|
||
|
}
|
||
|
}
|
||
|
stage('check') {
|
||
|
steps {
|
||
|
sh 'ansible-playbook -C ansible/base-system/playbook.yml'
|
||
|
}
|
||
|
}
|
||
|
stage('run!') {
|
||
|
steps {
|
||
|
sh 'ansible-playbook ansible/base-system/playbook.yml'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|