{"id":21129598,"url":"https://github.com/pimvh/add_github_hostkeys","last_synced_at":"2026-05-07T23:04:22.637Z","repository":{"id":151279164,"uuid":"579177677","full_name":"pimvh/add_github_hostkeys","owner":"pimvh","description":"Ansible role to add SSH hostkeys for Github","archived":false,"fork":false,"pushed_at":"2024-05-20T18:51:37.000Z","size":75,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T12:12:55.799Z","etag":null,"topics":["ansible","github","hostkeys","molecule-tested","role"],"latest_commit_sha":null,"homepage":"","language":"Python","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/pimvh.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}},"created_at":"2022-12-16T21:25:43.000Z","updated_at":"2024-05-20T18:51:41.000Z","dependencies_parsed_at":"2023-11-16T21:16:13.789Z","dependency_job_id":"0a2e224a-c12c-435a-a5d3-e6aa0acb10c5","html_url":"https://github.com/pimvh/add_github_hostkeys","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pimvh/add_github_hostkeys","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimvh%2Fadd_github_hostkeys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimvh%2Fadd_github_hostkeys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimvh%2Fadd_github_hostkeys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimvh%2Fadd_github_hostkeys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pimvh","download_url":"https://codeload.github.com/pimvh/add_github_hostkeys/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimvh%2Fadd_github_hostkeys/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32759448,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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","github","hostkeys","molecule-tested","role"],"created_at":"2024-11-20T05:26:00.837Z","updated_at":"2026-05-07T23:04:22.604Z","avatar_url":"https://github.com/pimvh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Molecule test](https://github.com/pimvh/add_github_hostkeys/actions/workflows/test.yaml/badge.svg)\n# Requirements\n\n1. Ansible installed:\n\n```\nsudo apt install python3\npython3 -m ensurepip --upgrade\npip3 install ansible\n```\n\n# Why such a small role?\n\nI found myself repeating this small piece of logic in several playbooks. I though it would be easier to do it once, and include it everywhere else.\n\n## Required variables\n\nReview the variables as shown in defaults.\n\nThe ansible playbook will validate whether the variables exist that you defined before running.\n\n# Example playbook\n\n```\nhosts:\n  - foo\nroles:\n  - pimvh.add_github_hostkeys\n\n```\n\n# TLDR - What will happen if I run this\n\n- Add the hostkeys of GitHub fetch via the API to the systems known_host file (/etc/ssh/ssh_known_hosts) specified in the passed list.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpimvh%2Fadd_github_hostkeys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpimvh%2Fadd_github_hostkeys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpimvh%2Fadd_github_hostkeys/lists"}