{"id":30384263,"url":"https://github.com/rgglez/ansible-scripts","last_synced_at":"2025-08-21T01:21:41.580Z","repository":{"id":269103828,"uuid":"617103779","full_name":"rgglez/ansible-scripts","owner":"rgglez","description":"Misc. scripts for Ansible","archived":false,"fork":false,"pushed_at":"2025-08-04T17:35:26.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-04T20:51:30.102Z","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":"2025-08-04T18:57:18.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":271413207,"owners_count":24755337,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-08-21T01:21:41.562Z","avatar_url":"https://github.com/rgglez.png","language":"Perl","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\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) 2023 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","funding_links":[],"categories":[],"sub_categories":[],"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"}