Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1.04 KB

README.md

File metadata and controls

25 lines (16 loc) · 1.04 KB

ansible-farm-discover

License: GPL v3 GitHub all releases GitHub issues GitHub commit activity

This Perl script discovers the hosts in a subnet using nmap, and creates an ansible inventory for them. This can be useful in the case of an autoscaling farm of AWS EC2 or Aliyun ECS instances.

You can modify the name of the output file, and you need to modify the subnetworks to be scanned, by using the --networks and --file parameters:

perl discover.pl --networks="192.168.0.0/24 10.0.1.0/24" --file=farm.yaml

Dependencies

License

Copyright (c) 2023 Rodolfo González González.

Read the LICENSE file.