{"id":30384263,"url":"https://github.com/rgglez/ansible-scripts","last_synced_at":"2026-05-18T06:35:33.803Z","repository":{"id":269103828,"uuid":"617103779","full_name":"rgglez/ansible-scripts","owner":"rgglez","description":"Misc. scripts for Ansible","archived":false,"fork":false,"pushed_at":"2026-02-03T04:53:02.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-03T18:27:16.700Z","etag":null,"topics":["ansible","devops-tools","farm","network-analysis","perl","sysadmin","sysadmin-scripts"],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rgglez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-03-21T17:53:04.000Z","updated_at":"2026-02-03T04:53:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"7d27c1c8-f8a9-4d59-8110-bfa98a4e46ce","html_url":"https://github.com/rgglez/ansible-scripts","commit_stats":null,"previous_names":["rgglez/ansible-farm-discover","rgglez/ansible-scripts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rgglez/ansible-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgglez%2Fansible-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgglez%2Fansible-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgglez%2Fansible-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgglez%2Fansible-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rgglez","download_url":"https://codeload.github.com/rgglez/ansible-scripts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgglez%2Fansible-scripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33080779,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T20:25:35.270Z","status":"ssl_error","status_checked_at":"2026-05-15T20:25:34.732Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","devops-tools","farm","network-analysis","perl","sysadmin","sysadmin-scripts"],"created_at":"2025-08-21T01:21:39.191Z","updated_at":"2026-05-18T06:35:33.795Z","avatar_url":"https://github.com/rgglez.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ansible-scripts\n\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\n![GitHub all releases](https://img.shields.io/github/downloads/rgglez/ansible-scripts/total) \n![GitHub issues](https://img.shields.io/github/issues/rgglez/ansible-scripts) \n![GitHub commit activity](https://img.shields.io/github/commit-activity/y/rgglez/ansible-scripts)\n![GitHub stars](https://img.shields.io/github/stars/rgglez/ansible-scripts?style=social)\n![GitHub forks](https://img.shields.io/github/forks/rgglez/ansible-scripts?style=social)\n\nMiscelaneous scripts for [Ansible](https://docs.ansible.com/ansible/latest/index.html).\n\n## Scripts\n\n* ```discover.pl```\n\nThis Perl script discovers the hosts in a subnet using [nmap](https://nmap.org/), 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.\n\nYou 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:\n\n```bash\nperl discover.pl --networks=\"192.168.0.0/24 10.0.1.0/24\" --file=farm.yaml\n```\n\n  * Dependencies\n\n    * [Getopt::Long](https://perldoc.perl.org/Getopt::Long)\n    * [nmap](https://nmap.org/)\n\n## License\n\nCopyright (c) 2026 Rodolfo González González.\n\nLicensed under [GPL v3](https://www.gnu.org/licenses/gpl-3.0.en.html). Read the [LICENSE](LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgglez%2Fansible-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frgglez%2Fansible-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgglez%2Fansible-scripts/lists"}