{"id":16961076,"url":"https://github.com/ricsanfre/ansible-role-security","last_synced_at":"2026-05-20T14:47:25.404Z","repository":{"id":111459234,"uuid":"406064243","full_name":"ricsanfre/ansible-role-security","owner":"ricsanfre","description":"Security Hardening tasks on Linux hosts","archived":false,"fork":false,"pushed_at":"2021-09-24T10:45:11.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-26T11:12:18.752Z","etag":null,"topics":["ansible-role","security","ssh","ssh-config"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/ricsanfre/security","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ricsanfre.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-09-13T17:17:41.000Z","updated_at":"2023-02-26T01:57:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"7ad9f4a5-fc40-468c-9637-cff5aae7ad3a","html_url":"https://github.com/ricsanfre/ansible-role-security","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricsanfre%2Fansible-role-security","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricsanfre%2Fansible-role-security/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricsanfre%2Fansible-role-security/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricsanfre%2Fansible-role-security/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ricsanfre","download_url":"https://codeload.github.com/ricsanfre/ansible-role-security/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244825024,"owners_count":20516586,"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-role","security","ssh","ssh-config"],"created_at":"2024-10-13T22:50:57.659Z","updated_at":"2026-05-20T14:47:25.363Z","avatar_url":"https://github.com/ricsanfre.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Ansible Role: Security\n=========\n\n[![CI](https://github.com/ricsanfre/ansible-role-security/actions/workflows/ci.yml/badge.svg)](https://github.com/ricsanfre/ansible-role-security/actions/workflows/ci.yml)\n\nSecurity hardening tasks on Linux.\n\n- SSH access hardening\n\nRequirements\n------------\n\nNone.\n\n\nRole Variables\n--------------\n\nAvailable variables are listed below along with default values (see `defaults\\main.yaml`)\n\n\nSecurity SSH security hardened settings disable the login/password access (only access through SSH keys are allowed), disable root login and others.\n\nsecurity_ssh_password_authentication: \"no\"\nsecurity_ssh_permit_root_login: \"no\"\nsecurity_ssh_usedns: \"no\"\nsecurity_ssh_permit_empty_password: \"no\"\nsecurity_ssh_challenge_response_auth: \"no\"\nsecurity_ssh_gss_api_authentication: \"no\"\nsecurity_ssh_x11_forwarding: \"no\"\n\n\nDependencies\n------------\n\nNone\n\nExample Playbooks\n-----------------\n\n### Apply default rules\n\nInstall and configure a firewall on a host with default rules\n\n```yml\n- hosts: server\n  roles:\n    - ricsanfre.security\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricsanfre%2Fansible-role-security","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fricsanfre%2Fansible-role-security","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricsanfre%2Fansible-role-security/lists"}