tower-load-test/inventory/10nmap_inventory.yml

25 lines
457 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"
tower_nodes: "'lab-tower' in name and 'db' not in name"
tower_db_nodes: "'db' in name"
tower_isolated_nodes: "'isolated' in name"
ip_only: "'10.10.42' in name"
...