Skip to content

Commit

Permalink
add ansible-lint step
Browse files Browse the repository at this point in the history
  • Loading branch information
Onur committed May 7, 2019
1 parent 81a0f89 commit a75c61a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions Jenkinsfile.local
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ pipeline {
stages {
stage('run cdt-installer'){
steps {
sh "ansible-lint -p site.yml"
withCredentials([sshUserPrivateKey(credentialsId: "devopswise", keyFileVariable: 'keyfile')]) {
sh "ssh -o StrictHostKeyChecking=no -i ${keyfile} root@192.168.0.46 revert-xen-vm-to-latest-snapshot.sh ${CDT_TARGET_VM}"
}
Expand Down
1 change: 0 additions & 1 deletion roles/common/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

- name: Disable swap
command: swapoff -a
when: ansible_swaptotal_mb > 0
become: yes
become_method: sudo

Expand Down

0 comments on commit a75c61a

Please sign in to comment.