diff --git a/Jenkinsfile b/Jenkinsfile index 7a06bdd..e8c5ae2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -27,8 +27,7 @@ pipeline { withCredentials([sshUserPrivateKey(credentialsId: 'ansible-server-key', keyFileVariable: 'keyfile', usernameVariable: 'user')]){ remote.user = user remote.identityFile = keyfile - sshCommand remote: remote, command: "ls -l" - + sshCommand remote: remote, command: "ansible-playbook my-playbook.yaml" } } }