Skip to content

Commit a42de58

Browse files
committed
Cipher testing with ssh-audit.
1 parent f11b8a9 commit a42de58

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

molecule/default/verify.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,22 @@
5151
msg: "Goss failed to validate"
5252
when: item.rc != 0
5353
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

Comments
 (0)