mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-08 22:30:04 -07:00
Adding support for -p
option to specify port(s) to scan (#6165)
* Adding support for `-p` option to specify port(s) to scan * Adding changelog fragment file * Corrected appending options * Edit to doc section * Correction in documentation type * Fixed `:` use in doc breaking yaml * Update changelogs/fragments/6165-nmap-port.yml Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/inventory/nmap.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/inventory/nmap.py Co-authored-by: Felix Fontein <felix@fontein.de> * Adding usage example * Adding comment to example that was missed * Breaking line up, was too long for sanity test 160 char limit * Still too long since spaces are counted * Changed type to string to work for a single entry as well as comma separated values * Update changelogs/fragments/6165-nmap-port.yml Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/inventory/nmap.py Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
e8a7c27cab
commit
bf8f2950b4
2 changed files with 21 additions and 0 deletions
2
changelogs/fragments/6165-nmap-port.yml
Normal file
2
changelogs/fragments/6165-nmap-port.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- nmap inventory plugin - add new option ``port`` for port specific scan (https://github.com/ansible-collections/community.general/pull/6165).
|
Loading…
Add table
Add a link
Reference in a new issue