{"id":17924947,"url":"https://github.com/diptochakrabarty/aws-ansible-user-manager","last_synced_at":"2026-04-28T08:31:06.336Z","repository":{"id":42566822,"uuid":"274579240","full_name":"DiptoChakrabarty/aws-ansible-user-manager","owner":"DiptoChakrabarty","description":"Manage multiple user accounts in your ec2 instances  by creating or deleting users and also enable ssh based login for each user using their public key files ","archived":false,"fork":false,"pushed_at":"2023-08-02T01:32:39.000Z","size":9631,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-08T23:11:46.824Z","etag":null,"topics":["ansible","ansible-playbook","aws","aws-ec2","cloud","pem","private-key","public-key-cryptography","ssh","ssh-server"],"latest_commit_sha":null,"homepage":"","language":null,"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/DiptoChakrabarty.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}},"created_at":"2020-06-24T05:02:40.000Z","updated_at":"2023-07-31T13:33:37.000Z","dependencies_parsed_at":"2022-09-09T13:20:13.512Z","dependency_job_id":null,"html_url":"https://github.com/DiptoChakrabarty/aws-ansible-user-manager","commit_stats":{"total_commits":27,"total_committers":3,"mean_commits":9.0,"dds":0.4444444444444444,"last_synced_commit":"d3801b57dcebd24408c76b68af5b1ac2840a975c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DiptoChakrabarty%2Faws-ansible-user-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DiptoChakrabarty%2Faws-ansible-user-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DiptoChakrabarty%2Faws-ansible-user-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DiptoChakrabarty%2Faws-ansible-user-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DiptoChakrabarty","download_url":"https://codeload.github.com/DiptoChakrabarty/aws-ansible-user-manager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246972206,"owners_count":20862884,"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-playbook","aws","aws-ec2","cloud","pem","private-key","public-key-cryptography","ssh","ssh-server"],"created_at":"2024-10-28T20:51:41.863Z","updated_at":"2026-04-28T08:31:06.248Z","avatar_url":"https://github.com/DiptoChakrabarty.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# aws-ansible-user-manager\n\n- Add Users in your ec2 server using  public keys and ip address \n- Also add your keys to the instance\n\n### How to configure\n\n```sh\n\n- Activate virtual env using source  venv/bin/activate\n- Add your pem file path in ansible.cfg -\u003e private_key_file\n- ssh-add \u003cpem file\u003e\n- In hosts file add in this format under aws group { instance ip address}  ansible_ssh_user={ user to connect}  ansible_ssh_private_key_file= { pvt key path }\n- For ubuntu user will be ubuntu and centos user is ec2-user\n- Add your users key to add in instance in ssh directory\n- Name the key as  {username}.pub\n- Add all users in users.yml file\n- To add or remove change state variable in users.yml to present or absent\n\n```\n\n### key.yml format to launch instances\n```sh\n\naccess_key: \"\"\nsecret_key: \"\"\nregion: \"\"\nami: \"\"\nsecurity_group: \"\"\nsubnet: \"\"\nkey_name: \"\"\n\n```\n\n### Running the script \n\n```sh\n\n- To launch new instance\n  ansible-playbook  --vault-password-file=\".password\" -i ./hosts ec2_launch.yml\n\n- To manage users\n  ansible-playbook ec2_users.yml\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiptochakrabarty%2Faws-ansible-user-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiptochakrabarty%2Faws-ansible-user-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiptochakrabarty%2Faws-ansible-user-manager/lists"}