{"id":21400258,"url":"https://github.com/oefenweb/ansible-user","last_synced_at":"2025-07-13T21:31:13.104Z","repository":{"id":34943677,"uuid":"39016868","full_name":"Oefenweb/ansible-user","owner":"Oefenweb","description":"Ansible role to manage user and group accounts","archived":false,"fork":false,"pushed_at":"2023-11-02T11:07:56.000Z","size":99,"stargazers_count":8,"open_issues_count":2,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-11-02T11:37:51.141Z","etag":null,"topics":["ansible","debian","ubuntu","user-management","users"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"AfroCyberGuy/KotlinRestApp","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Oefenweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2015-07-13T14:25:02.000Z","updated_at":"2022-06-18T04:01:02.000Z","dependencies_parsed_at":"2023-01-15T10:50:31.102Z","dependency_job_id":"88a1d9a8-d469-475c-b5b2-06d41d5265bc","html_url":"https://github.com/Oefenweb/ansible-user","commit_stats":null,"previous_names":[],"tags_count":50,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fansible-user","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fansible-user/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fansible-user/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fansible-user/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Oefenweb","download_url":"https://codeload.github.com/Oefenweb/ansible-user/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225917731,"owners_count":17544942,"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","ubuntu","user-management","users"],"created_at":"2024-11-22T15:20:14.707Z","updated_at":"2024-11-22T15:20:15.646Z","avatar_url":"https://github.com/Oefenweb.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"## user\n\n[![CI](https://github.com/Oefenweb/ansible-user/workflows/CI/badge.svg)](https://github.com/Oefenweb/ansible-user/actions?query=workflow%3ACI)\n[![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-user-blue.svg)](https://galaxy.ansible.com/Oefenweb/user)\n\nManages user and group accounts.\n\n#### Requirements\n\nNone\n\n#### Variables\n\n* `user_groups`: [default: `[]`]: Group declarations\n* `user_groups.{n}.name`: [required]: The name of the group to manage\n* `user_groups.{n}.gid`: [optional]: GID to set for the group\n* `user_groups.{n}.system`: [default: `false`]: If `true`, indicates that the group created is a system group\n* `user_groups.{n}.state`: [default: `present`]: Whether the group should be present or not on the remote host\n\n* `user_users`: [default: `[]`]: User declarations\n* `user_users.{n}.name`: [required]: The name of the user to manage\n* `user_users.{n}.uid`: [optional]: UID to set for the user\n* `user_users.{n}.comment`: [default: `''`]: Sets the description (aka `GECOS`) of user account\n* `user_users.{n}.group`: [default: `name`]: Sets the user's primary group (takes a group name)\n* `user_users.{n}.groups`: [default: `[]`]: Puts the user in this list of groups. When set to `[]`, the user is removed from all groups except the primary group\n* `user_users.{n}.append`: [default: `false`]: If `true`, will only add groups, not set them to just the list in groups\n* `user_users.{n}.password`: [default: `*`]: Sets the user's password to this crypted value\n* `user_users.{n}.update_password`: [default: `always`]: `always` will update passwords if they differ. `on_create` will only set the password for newly created users\n* `user_users.{n}.shell`: [default: `/bin/bash`]: Sets the user's shell\n* `user_users.{n}.home`: [default: `/home/name` or `/name` for `root`]: Sets the user's home directory\n* `user_users.{n}.dir_mode`: [optional]: The mode the home directory (e.g. `0755`, `0700`)\n* `user_users.{n}.system`: [default: `false`]: If `true`, indicates that the user created is a system user\n* `user_users.{n}.state`: [default: `present`]: Whether the user should be present or not on the remote host\n* `user_users.{n}.remove`: [default: `false`]: When used with `state=absent`, behavior is as with `userdel --remove`\n\n## Dependencies\n\nNone\n\n#### Example\n\n```yaml\n---\n- hosts: all\n  roles:\n    - oefenweb.user\n```\n\n#### License\n\nMIT\n\n#### Author Information\n\nMischa ter Smitten\n\n#### Feedback, bug-reports, requests, ...\n\nAre [welcome](https://github.com/Oefenweb/ansible-user/issues)!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foefenweb%2Fansible-user","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foefenweb%2Fansible-user","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foefenweb%2Fansible-user/lists"}