Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stage('Run Ansible') {
- steps {
- script {
- sh "pip3 install -r requirements.txt"
- sh "ansible-galaxy install -r requirements.yml"
- withEnv(["FRONTEND_IMAGE=$frontendImage:$frontendDockerTag",
- "BACKEND_IMAGE=$backendImage:$backendDockerTag"]) {
- ansiblePlaybook inventory: 'inventory', playbook: 'playbook.yml'
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement