We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f11b8a9 commit a42de58Copy full SHA for a42de58
molecule/default/verify.yml
@@ -51,3 +51,22 @@
51
msg: "Goss failed to validate"
52
when: item.rc != 0
53
with_items: "{{ test_results.results }}"
54
+
55
+ - name: Install git
56
+ yum:
57
+ name: git
58
+ state: installed
59
60
+ - name: Clone ssh-audit
61
+ git:
62
+ repo: "https://github.com/arthepsy/ssh-audit.git"
63
+ dest: 'ssh-audit'
64
65
+ - name: Audit SSH
66
+ command: "ssh-audit/ssh-audit.py 10.0.2.15"
67
+ register: ssh_audit
68
+ changed_when: false
69
70
+ - name: Display audit findings
71
+ debug:
72
+ msg: "{{ ssh_audit.stdout_lines }}"
0 commit comments