22 lines
358 B
YAML
22 lines
358 B
YAML
---
|
|
plugin: community.general.nmap
|
|
address: 10.10.42.0/24
|
|
strict: False
|
|
ipv4: yes
|
|
ports: no
|
|
|
|
cache: yes
|
|
cache_plugin: ansible.builtin.jsonfile
|
|
cache_connection: inventory_cache
|
|
cache_timeout: 300
|
|
cache_prefix: ansible_nmap_inventory_
|
|
|
|
|
|
groups:
|
|
dev_nodes: "'lab-dev' in name"
|
|
everything_else: "'lab-dev' not in name"
|
|
ip_only: "'10.10.42' in name"
|
|
|
|
|
|
...
|