Add nmap test.

This commit is contained in:
Hyperling 2021-02-03 21:29:45 -06:00
parent 0495703f16
commit e24487aabb
2 changed files with 9 additions and 1 deletions

View File

@ -60,4 +60,5 @@
become: true
tasks:
- include: tasks/general/tests/nmap.yml
- include: tasks/general/tests/lynis.yml

View File

@ -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'