Add nmap test.
This commit is contained in:
parent
0495703f16
commit
e24487aabb
@ -60,4 +60,5 @@
|
||||
become: true
|
||||
|
||||
tasks:
|
||||
- include: tasks/general/tests/nmap.yml
|
||||
- include: tasks/general/tests/lynis.yml
|
@ -1,3 +1,10 @@
|
||||
---
|
||||
# Nmap port test
|
||||
|
||||
- name: General | Tests | nmap | Run
|
||||
shell: "nmap localhost > /root/nmap.txt"
|
||||
|
||||
- name: General | Tests | nmap | Make Report Readable
|
||||
file:
|
||||
path: "/root/nmap.txt"
|
||||
mode: '0444'
|
Loading…
x
Reference in New Issue
Block a user