{"id":19472376,"url":"https://github.com/aboutbits/ansible-user","last_synced_at":"2026-07-02T14:05:04.463Z","repository":{"id":47840332,"uuid":"257901962","full_name":"aboutbits/ansible-user","owner":"aboutbits","description":"Ansible - User Role","archived":false,"fork":false,"pushed_at":"2025-05-08T09:53:59.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-30T12:05:44.612Z","etag":null,"topics":["ansible","ansible-role","user"],"latest_commit_sha":null,"homepage":"","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/aboutbits.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-04-22T12:57:51.000Z","updated_at":"2025-05-08T09:54:03.000Z","dependencies_parsed_at":"2025-05-07T10:54:30.431Z","dependency_job_id":null,"html_url":"https://github.com/aboutbits/ansible-user","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/aboutbits/ansible-user","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboutbits%2Fansible-user","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboutbits%2Fansible-user/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboutbits%2Fansible-user/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboutbits%2Fansible-user/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aboutbits","download_url":"https://codeload.github.com/aboutbits/ansible-user/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboutbits%2Fansible-user/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35050078,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-02T02:00:06.368Z","response_time":173,"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","ansible-role","user"],"created_at":"2024-11-10T19:14:14.159Z","updated_at":"2026-07-02T14:05:04.459Z","avatar_url":"https://github.com/aboutbits.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Ansible User Role\n=================\n\nUser creation role.\n\n## Role Variables\n\n- `user_name`: The name of the user\n- `user_password`: The password for the user\n- `user_groups`: The groups of the user\n- `user_authorized_keys`: The authorized keys of the user\n\n## Example Playbook\n\n```yaml\n- hosts: all\n  tasks:\n    - ansible.builtin.include_role:\n        name: ansible-user\n      vars:\n        user_name: alex\n        user_password: sha512-hashed-password\n        user_groups:\n          - docker\n        user_authorized_keys:\n          - {{ lookup('file', 'path-to-key') }}\n```\n\n## Password\n\nTo create a password hash for a user, the following command must be extecuted:\n\n```\nmkpasswd --method=SHA-512\n```\n\nThe command is contained within the package \"whois\" that can be installed on\nLinux by executing `apt-get install -y whois`.\n\n## Build \u0026 Publish\n\nTo build and publish the role, visit the GitHub Actions page of the repository and trigger the workflow \"Release Package\" manually.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faboutbits%2Fansible-user","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faboutbits%2Fansible-user","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faboutbits%2Fansible-user/lists"}