Use variable in all commands.

This commit is contained in:
Hyperling 2021-02-06 07:19:58 -06:00
parent 4ffc25c804
commit c1abb33688

View File

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