Use variable in all commands.
This commit is contained in:
parent
4ffc25c804
commit
c1abb33688
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user