diff --git a/tasks/general/tests/nmap.yml b/tasks/general/tests/nmap.yml index 02a3523..17c039d 100644 --- a/tasks/general/tests/nmap.yml +++ b/tasks/general/tests/nmap.yml @@ -2,10 +2,10 @@ # Nmap port test - name: General | Tests | nmap | Run Count - shell: "nmap --open localhost | grep -c open > /root/nmap.txt" + shell: "nmap --open localhost | grep -c open > {{ nmap_report }}" - name: General | Tests | nmap | Run Open - shell: "nmap --open localhost | grep open >> /root/nmap.txt" + shell: "nmap --open localhost | grep open >> {{ nmap_report }}" - name: General | Tests | nmap | Make Viewable file: