Skip to content

Commit ffb2760

Browse files
authored
Update jenkinsfile
1 parent 1cf01d7 commit ffb2760

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎jenkinsfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pipeline {
1313
}
1414
stage(" execute Ansible") {
1515
steps {
16-
ansiblePlaybook become: true, credentialsId: 'dev', disableHostKeyChecking: true, installation: 'ansible', inventory: '/etc/ansible/hosts', playbook: '/home/dev/data/saiproject/ansible/deploy_playbook.yaml'
16+
ansiblePlaybook become: true, becomeUser: 'dev', credentialsId: 'dev', disableHostKeyChecking: true, installation: 'ansible', inventory: '/etc/ansible/hosts', playbook: '/home/dev/data/saiproject/ansible/deploy_playbook.yaml', sudoUser: 'dev'
1717
}
1818
}
1919
}

0 commit comments

Comments
 (0)