{"id":19599800,"url":"https://github.com/anxs/generic-users","last_synced_at":"2025-04-27T16:32:10.929Z","repository":{"id":15044830,"uuid":"17770821","full_name":"ANXS/generic-users","owner":"ANXS","description":"Ansible role for managing user accounts. Includes a module to help generate the user var structure.","archived":false,"fork":false,"pushed_at":"2025-03-30T19:03:18.000Z","size":30,"stargazers_count":30,"open_issues_count":1,"forks_count":15,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-30T20:19:18.461Z","etag":null,"topics":["ansible","ansible-modules","ansible-role","sysadmin"],"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/ANXS.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":"2014-03-15T07:51:03.000Z","updated_at":"2023-10-30T08:49:25.000Z","dependencies_parsed_at":"2024-11-11T09:12:38.551Z","dependency_job_id":"88691125-96a7-40fe-a7a5-6c63fb7931d1","html_url":"https://github.com/ANXS/generic-users","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ANXS%2Fgeneric-users","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ANXS%2Fgeneric-users/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ANXS%2Fgeneric-users/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ANXS%2Fgeneric-users/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ANXS","download_url":"https://codeload.github.com/ANXS/generic-users/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251171491,"owners_count":21547112,"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","ansible-modules","ansible-role","sysadmin"],"created_at":"2024-11-11T09:12:29.900Z","updated_at":"2025-04-27T16:32:10.649Z","avatar_url":"https://github.com/ANXS.png","language":"Python","readme":"## ANXS - generic-users [![Build Status](https://travis-ci.org/ANXS/generic-users.png)](https://travis-ci.org/ANXS/generic-users)\n\nAnsible role which manages the groups and user accounts.\n\n\n#### Requirements \u0026 Dependencies\n- Tested on Ansible 1.8 or higher.\n\n\n#### Variables\n\n```yaml\ngenericusers_groups:\n  - name: \"dbadmins\"\n    gid: 5000           # (Optional)\n    system: no          # (Optional)\n  - name: \"mailadmins\"\n    gid: 6000\n    system: no\n\ngenericusers_groups_removed:\n  - name: \"defunctadmins\"\n\ngenericusers_users:\n  - name: \"foo\"\n    groups: [\"admin\", \"staff\", \"devops\"]\n    ssh_keys:           # Keys to add to authorized_keys\n      - \"ssh-dss .......\"\n      - \"ssh-dss .......\"\n    append: \"no\"        # (Optional) If yes, will only add groups, not set them to just the list in groups.\n    pass: \"$6$....\"     # (Optional) Set the user's password to this crypted value.\n    comment: \"foo acc\"  # (Optional)\n    shell: \"/bin/bash\"  # (Optional) Set the user's shell.\n    home: \"/home/baz\"   # (Optional) Set the user's home directory.\n    system: no          # (Optional) Make the user a system account or not.\n  - name: \"bar\"\n    groups: [\"admin\", \"staff\", \"dev\"]\n    ssh_keys: []\n\ngenericusers_users_removed:\n  - name: baz\n```\n\n\n#### Testing\nThis project comes with a VagrantFile, this is a fast and easy way to test changes to the role, fire it up with `vagrant up`\n\nSee [vagrant docs](https://docs.vagrantup.com/v2/) for getting setup with vagrant\n\n\n#### License\n\nLicensed under the MIT License. See the LICENSE file for details.\n\n\n#### Feedback, bug-reports, requests, ...\n\nAre [welcome](https://github.com/ANXS/generic-users/issues)!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanxs%2Fgeneric-users","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanxs%2Fgeneric-users","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanxs%2Fgeneric-users/lists"}