{"id":18719624,"url":"https://github.com/boutetnico/ansible-role-ssh-keys","last_synced_at":"2026-05-10T06:38:16.877Z","repository":{"id":45052578,"uuid":"353631594","full_name":"boutetnico/ansible-role-ssh-keys","owner":"boutetnico","description":"Manage SSH keys with Ansible.","archived":false,"fork":false,"pushed_at":"2024-11-05T12:46:39.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-28T11:16:15.658Z","etag":null,"topics":["ansible","debian","keys","openssh","ssh","ubuntu"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/boutetnico.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":"2021-04-01T08:37:19.000Z","updated_at":"2024-11-05T12:46:43.000Z","dependencies_parsed_at":"2024-08-06T11:07:38.054Z","dependency_job_id":null,"html_url":"https://github.com/boutetnico/ansible-role-ssh-keys","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boutetnico%2Fansible-role-ssh-keys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boutetnico%2Fansible-role-ssh-keys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boutetnico%2Fansible-role-ssh-keys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boutetnico%2Fansible-role-ssh-keys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boutetnico","download_url":"https://codeload.github.com/boutetnico/ansible-role-ssh-keys/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239581759,"owners_count":19662960,"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","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","debian","keys","openssh","ssh","ubuntu"],"created_at":"2024-11-07T13:27:08.228Z","updated_at":"2025-11-10T18:30:24.254Z","avatar_url":"https://github.com/boutetnico.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![tests](https://github.com/boutetnico/ansible-role-ssh-keys/workflows/Test%20ansible%20role/badge.svg)](https://github.com/boutetnico/ansible-role-ssh-keys/actions?query=workflow%3A%22Test+ansible+role%22)\n[![Ansible Galaxy](https://img.shields.io/badge/galaxy-boutetnico.ssh_keys-blue.svg)](https://galaxy.ansible.com/boutetnico/ssh_keys)\n\n\nansible-role-ssh-keys\n=====================\n\nThis role installs SSH keys.\n\nRequirements\n------------\n\nAnsible 2.10 or newer.\n\nSupported Platforms\n-------------------\n\n- [Debian - 11 (Bullseye)](https://wiki.debian.org/DebianBullseye)\n- [Debian - 12 (Bookworm)](https://wiki.debian.org/DebianBookworm)\n- [Ubuntu - 22.04 (Jammy Jellyfish)](http://releases.ubuntu.com/22.04/)\n- [Ubuntu - 24.04 (Noble Numbat)](http://releases.ubuntu.com/24.04/)\n\nRole Variables\n--------------\n\n| Variable                 | Required | Default                     | Choices   | Comments                     |\n|--------------------------|----------|-----------------------------|-----------|------------------------------|\n| ssh_keys_dependencies    | yes      | `[openssh-{client,server}]` | list      |                              |\n| ssh_keys_authorized_keys | yes      | `[]`                        | list      |                              |\n| ssh_keys_known_hosts     | yes      | `[]`                        | list      |                              |\n| ssh_keys_private_keys    | yes      | `[]`                        | list      |                              |\n| ssh_keys_public_keys     | yes      | `[]`                        | list      |                              |\n\nDependencies\n------------\n\nNone\n\nExample Playbook\n----------------\n\n    - hosts: all\n      roles:\n        - role: ansible-role-ssh-keys\n\n          ssh_keys_authorized_keys:\n            - user: root\n              src: files/id_rsa.pub\n\n          ssh_keys_known_hosts:\n            - name: github.com\n              type: ssh-rsa\n              key: \"AAAAB3NzaC1yc2EAAAADAQABAAABgQCj7ndNxQowgcQnjshcLrqPEiiphnt+VTTvDP6mHBL9j1aNUkY4Ue1gvwnGLVlOhGeYrnZaMgRK6+PKCUXaDbC7qtbW8gIkhL7aGCsOr/C56SJMy/BCZfxd1nWzAOxSDPgVsmerOBYfNqltV9/hWCqBywINIR+5dIg6JTJ72pcEpEjcYgXkE2YEFXV1JHnsKgbLWNlhScqb2UmyRkQyytRLtL+38TGxkxCflmO+5Z8CSSNY7GidjMIZ7Q4zMjA2n1nGrlTDkzwDCsw+wqFPGQA179cnfGWOWRVruj16z6XyvxvjJwbz0wQZ75XK5tKSb7FNyeIEs4TT4jk+S4dhPeAUC5y+bDYirYgM4GC7uEnztnZyaVWQ7B381AK4Qdrwt51ZqExKbQpTUNn+EjqoTwvqNj4kqx5QUCI0ThS/YkOxJCXmPUWZbhjpCg56i+2aB6CmK2JGhn57K5mj0MNdBXA4/WnwH6XoPWJzK5Nyu2zB3nAZp+S5hpQs+p1vN1/wsjk=\"\n\n          ssh_keys_private_keys:\n            - owner: root\n              group: root\n              src: files/id_rsa_deploy\n              dest: /root/.ssh/id_rsa_deploy\n\n          ssh_keys_public_keys:\n            - owner: root\n              group: root\n              src: files/id_rsa_deploy.pub\n              dest: /root/.ssh/id_rsa_deploy.pub\n\nTesting\n-------\n\n    molecule test\n\nLicense\n-------\n\nMIT\n\nAuthor Information\n------------------\n\n[@boutetnico](https://github.com/boutetnico)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboutetnico%2Fansible-role-ssh-keys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboutetnico%2Fansible-role-ssh-keys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboutetnico%2Fansible-role-ssh-keys/lists"}