13 lines
372 B
YAML

---
# Nmap port test
- name: General | Tests | nmap | Run Count
shell: "nmap --open localhost | grep -c open > {{ nmap_report }}; echo success"
- name: General | Tests | nmap | Run Open
shell: "nmap --open localhost | grep open >> {{ nmap_report }}; echo success"
- name: General | Tests | nmap | Make Viewable
file:
path: "{{ nmap_report }}"
mode: '0777'