{"id":31913879,"url":"https://github.com/clip-hpc/ansible-role-poolaccounts","last_synced_at":"2025-10-13T18:54:58.852Z","repository":{"id":48882366,"uuid":"252185600","full_name":"CLIP-HPC/ansible-role-poolaccounts","owner":"CLIP-HPC","description":"Create Pool Accounts for WLCG/EGI Grid Site","archived":false,"fork":false,"pushed_at":"2021-07-07T09:13:22.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-08T06:23:33.947Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://gitlab.cern.ch/hephyvienna/ansible/role/poolaccounts","language":"Jinja","has_issues":false,"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/CLIP-HPC.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}},"created_at":"2020-04-01T13:38:49.000Z","updated_at":"2021-07-07T09:13:11.000Z","dependencies_parsed_at":"2022-08-30T15:10:09.012Z","dependency_job_id":null,"html_url":"https://github.com/CLIP-HPC/ansible-role-poolaccounts","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/CLIP-HPC/ansible-role-poolaccounts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CLIP-HPC%2Fansible-role-poolaccounts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CLIP-HPC%2Fansible-role-poolaccounts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CLIP-HPC%2Fansible-role-poolaccounts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CLIP-HPC%2Fansible-role-poolaccounts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CLIP-HPC","download_url":"https://codeload.github.com/CLIP-HPC/ansible-role-poolaccounts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CLIP-HPC%2Fansible-role-poolaccounts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279016617,"owners_count":26085853,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"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":[],"created_at":"2025-10-13T18:54:52.062Z","updated_at":"2025-10-13T18:54:58.847Z","avatar_url":"https://github.com/CLIP-HPC.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# poolaccounts [![Build Status](https://travis-ci.org/hephyvienna/ansible-role-poolaccounts.svg?branch=master)](https://travis-ci.org/hephyvienna/ansible-role-poolaccounts) ![Ansible Role](https://img.shields.io/ansible/role/40961.svg)\n\nCreate Pool Accounts for WLCG/EGI Grid Site\n\n*   See old [YAIM Guide](https://twiki.cern.ch/twiki/bin/view/LCG/YaimGuide400#users_conf)\n\n## Role Variables\n\nAccounts are defined as a list of dictionaries describing the user group.\n\nFor each group first the correspondig unix grouo mis created and then the user accounts.\n\n*   _name_ - python format string\n*   _uid_ - uid of the first account\n*   _number_ - number accounts to be created\n*   _step_ - uid of an account is _uid + i * step_\n*   _description_ - command for _/etc/passwd_\n*   _group_ - name of the group\n*   _gid_ - gid of the groups\n*   _groups_ - additional groups of which the accounts are member\n*   _fqan_ - Fully qualified attribute name describing the relevant VOMS role\n\nThe example demonstrates the usage. If _number_ is not defined, only\none account _name_ is created.\n\n      poolaccounts:\n        - name: 'cms%03d'\n          uid: 10000\n          number: 100\n          step: 2\n          description: 'Standard User of the CMS VO'\n          group: cms\n          gid: 10000\n          fqan: /cms\n        - name: 'cmsprd%02d'\n          uid: 11000\n          number: 10\n          step: 2\n          description: 'Production User of the CMS VO'\n          group: cmsprd\n          gid: 11000\n          groups: cms\n          fqan: /cms/Role=production\n        - name: 'cmspil%02d'\n          uid: 12000\n          number: 10\n          step: 2\n          description: 'Pilot User of the CMS VO'\n          group: cmspil\n          gid: 12000\n          groups: cms\n          fqan: /cms/Role=pilot\n        - name: 'cmssgm'\n          uid: 13000\n          description: 'SW User of the CMS VO'\n          group: cmssgm\n          gid: 13000\n          groups: cms\n          fqan: /cms/Role=lcgadmin\n\nAdditional settings\n\n    poolaccounts_homedir: /home\n\nPrefix for the home directory\n\n    poolaccounts_enable_cleanup: false\n\nInstall and config grid cleanup routines for home directories\n\n    poolaccounts_enable_gridmapdir: false\n\nCreate _gridmapdir_ for administration of grid accounts\n\n    poolaccounts_enable_grid-mapfile: false\n\nConfigure _grid-mapfile_  for mapping of the accounts to VOMS attributes.\n\n    poolaccounts_enable_groupmapfile: false\n\nConfigure _groupmapfile_ for mapping the groups to VOMS attributes.\n\n\n## Example Playbook\n\n    - hosts: servers\n      roles:\n         - role: hephyvienna.poolaccounts\n           vars:\n             poolaccounts:\n               - name: 'cms%03d'\n                 uid: 10000\n                 number: 100\n                 step: 2\n                 description: 'Standard User of the CMS VO'\n                 group: cms\n                 gid: 10000\n               - name: 'cmsprd%02d'\n                 uid: 11000\n                 number: 10\n                 step: 2\n                 description: 'Production User of the CMS VO'\n                 group: cmsprd\n                 gid: 11000\n                 groups: cms\n               - name: 'cmspil%02d'\n                 uid: 12000\n                 number: 10\n                 step: 2\n                 description: 'Pilot User of the CMS VO'\n                 group: cmspil\n                 gid: 12000\n                 groups: cms\n               - name: 'cmssgm'\n                 uid: 13000\n                 description: 'SW User of the CMS VO'\n                 group: cmssgm\n                 gid: 13000\n                 groups: cms\n\n## License\n\nMIT\n\n## Author Information\n\nWritten by [Dietrich Liko](http://hephy.at/dliko) in April 2019\n\n[Institute for High Energy Physics](http://www.hephy.at) of the\n[Austrian Academy of Sciences](http://www.oeaw.ac.at)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclip-hpc%2Fansible-role-poolaccounts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclip-hpc%2Fansible-role-poolaccounts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclip-hpc%2Fansible-role-poolaccounts/lists"}