Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding additional flags to the nmap inventory #5567

Open
1 task done
dstuart opened this issue Nov 16, 2022 · 1 comment
Open
1 task done

Adding additional flags to the nmap inventory #5567

dstuart opened this issue Nov 16, 2022 · 1 comment
Labels
feature This issue/PR relates to a feature request inventory inventory plugin plugins plugin (any type)

Comments

@dstuart
Copy link
Contributor

dstuart commented Nov 16, 2022

Summary

As some machines aren't as visible to standard scans. Adding a few more options to the tool box to grab all the machines on the network

Issue Type

Feature Idea

Component Name

nmap.py

Additional Information


plugin: community.general.nmap
address: 192.168.1,2,3,4.0/24
strict: no
ipv4: yes
ports: yes
cache: no
sudo: yes
cache_connection: './cache/ansible_inventory_cache'
cache_timeout: 86400
icmp_timestamp: yes
dns_resolve: yes
udp_scan: yes
groups:
subnet1_vm: "'.1.' in ip"
subnet2_vm: "'.2.' in ip"
subnet3_vm: "'.3.' in ip"
subnet4_vm: "'.4.' in ip"

Code of Conduct

  • I agree to follow the Ansible Code of Conduct
@dstuart
Copy link
Contributor Author

dstuart commented Nov 16, 2022

Pull request attached
#5566

@ansibullbot ansibullbot added feature This issue/PR relates to a feature request inventory inventory plugin plugins plugin (any type) labels Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue/PR relates to a feature request inventory inventory plugin plugins plugin (any type)
Projects
None yet
Development

No branches or pull requests

2 participants