From 0f2bef82f9452017df6fee2eb4c2d44a785fe4ab Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sun, 7 Feb 2021 08:16:45 -0600 Subject: [PATCH] Count will always give a number. Why did the chmod fail? --- tasks/general/tests/nmap.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/general/tests/nmap.yml b/tasks/general/tests/nmap.yml index 099c072..4f269f9 100644 --- a/tasks/general/tests/nmap.yml +++ b/tasks/general/tests/nmap.yml @@ -5,7 +5,7 @@ shell: "nmap --open localhost | grep -c open > {{ nmap_report }}; echo success" - name: General | Tests | nmap | Run Open - shell: "nmap --open localhost >> {{ nmap_report }}; echo success" + shell: "nmap --open localhost | grep open >> {{ nmap_report }}; echo success" - name: General | Tests | nmap | Make Viewable file: