mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
nmap inventory plugin: Add sudo nmap (#4506)
* nmap.py: Add sudo nmap * Update plugins/inventory/nmap.py Change description of new plugin option adding version_added Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/inventory/nmap.py Change boolean values of sudo option in example Co-authored-by: Felix Fontein <felix@fontein.de> * Create 4506-sudo-in-nmap-inv-plugin.yaml * Fix typo in yaml format * Update changelogs/fragments/4506-sudo-in-nmap-inv-plugin.yaml Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com> * Update changelogs/fragments/4506-sudo-in-nmap-inv-plugin.yaml Co-authored-by: Felix Fontein <felix@fontein.de> * Document default as false. Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
405284b513
commit
3cce1217db
2 changed files with 18 additions and 0 deletions
2
changelogs/fragments/4506-sudo-in-nmap-inv-plugin.yaml
Normal file
2
changelogs/fragments/4506-sudo-in-nmap-inv-plugin.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- nmap inventory plugin - add ``sudo`` option in plugin in order to execute ``sudo nmap`` so that ``nmap`` runs with elevated privileges (https://github.com/ansible-collections/community.general/pull/4506).
|
Loading…
Add table
Add a link
Reference in a new issue