Skip to content

Perl script that discovers the hosts in a subnet and creates an ansible inventory for them.

License

Notifications You must be signed in to change notification settings

rgglez/ansible-farm-discover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

Perl script that discovers the hosts in a subnet and creates an ansible inventory for them.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages