{"id":15080748,"url":"https://github.com/francomile/ansible-role-ssh","last_synced_at":"2026-02-06T14:32:09.084Z","repository":{"id":244718091,"uuid":"815706139","full_name":"francomile/ansible-role-ssh","owner":"francomile","description":"Ansible Role SSH","archived":false,"fork":false,"pushed_at":"2024-06-16T23:41:31.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-17T12:15:14.768Z","etag":null,"topics":["ansible-role","security","ssh"],"latest_commit_sha":null,"homepage":"","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/francomile.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-15T22:35:50.000Z","updated_at":"2024-06-16T23:42:52.000Z","dependencies_parsed_at":"2024-06-17T00:34:03.457Z","dependency_job_id":null,"html_url":"https://github.com/francomile/ansible-role-ssh","commit_stats":null,"previous_names":["francomile/ansible-role-ssh"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/francomile/ansible-role-ssh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francomile%2Fansible-role-ssh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francomile%2Fansible-role-ssh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francomile%2Fansible-role-ssh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francomile%2Fansible-role-ssh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/francomile","download_url":"https://codeload.github.com/francomile/ansible-role-ssh/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francomile%2Fansible-role-ssh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29164861,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T12:44:37.655Z","status":"ssl_error","status_checked_at":"2026-02-06T12:44:13.991Z","response_time":59,"last_error":"SSL_read: 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-role","security","ssh"],"created_at":"2024-09-25T05:30:29.195Z","updated_at":"2026-02-06T14:32:09.061Z","avatar_url":"https://github.com/francomile.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible SSH Role\n\n[![Lint Ansible roles](https://github.com/francomile/ansible-role-ssh/actions/workflows/ansible_lint.yml/badge.svg)](https://github.com/francomile/ansible-role-ssh/actions/workflows/ansible_lint.yml)\n\n[![Release role to Ansible Galaxy](https://github.com/francomile/ansible-role-ssh/actions/workflows/push_to_galaxy.yml/badge.svg)](https://github.com/francomile/ansible-role-ssh/actions/workflows/push_to_galaxy.yml)\n\n## Actions of the Role\n\n* Setup SSH and enforce security\n\n## Common Usage\n\n```yaml\nroles:\n- { role: francomile.ssh,\n    ssh_port: 22,\n    ssh_authorized_keys_file: false,\n    ssh_permit_root_login: \"no\",\n    ssh_password_authentication: \"no\",\n    ssh_pubkey_authentication: \"yes\",\n    ssh_use_pam: \"yes\",\n    # If you want to set allowed users and groups, set first ro true the switches and define the users and groups:\n    # ssh_allow_users: true,\n    # ssh_allow_users_list: [\"johndoe\", \"batman\"],\n    # ssh_allow_groups: true,\n    # ssh_allow_groups_list: [\"adm\", \"sudo\"],\n    tags: [\"ssh\"]\n  }\n```\n\n## Run the playbook\n\n```shell\nansible-playbook -i inventory playbook.yaml --tags \"ssh\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrancomile%2Fansible-role-ssh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrancomile%2Fansible-role-ssh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrancomile%2Fansible-role-ssh/lists"}