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

@ -47,7 +47,7 @@
# Additional tasks to configure Desktop Environments
- include: tasks/linux/software/flatpaks.yml
when: ansible_system == "Linux" and flatpak_distro
- name: Worktation | Linux | Packages | Not Implemented
shell: echo "Not implemented yet. :("
when: ansible_system == "Linux" and not flatpak_distro
@ -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'