{"id":16452910,"url":"https://github.com/vitalk/ansible-domu","last_synced_at":"2026-02-09T23:02:23.600Z","repository":{"id":15404837,"uuid":"18136831","full_name":"vitalk/ansible-domU","owner":"vitalk","description":"Ansible recipe to configure a new domU guest to work","archived":false,"fork":false,"pushed_at":"2014-10-21T12:06:20.000Z","size":188,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-11T03:58:09.646Z","etag":null,"topics":[],"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/vitalk.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}},"created_at":"2014-03-26T12:12:57.000Z","updated_at":"2015-10-30T12:57:17.000Z","dependencies_parsed_at":"2022-08-26T13:12:22.321Z","dependency_job_id":null,"html_url":"https://github.com/vitalk/ansible-domU","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vitalk/ansible-domU","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalk%2Fansible-domU","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalk%2Fansible-domU/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalk%2Fansible-domU/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalk%2Fansible-domU/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vitalk","download_url":"https://codeload.github.com/vitalk/ansible-domU/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalk%2Fansible-domU/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29284740,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T21:57:15.303Z","status":"ssl_error","status_checked_at":"2026-02-09T21:57:11.537Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-10-11T10:14:10.410Z","updated_at":"2026-02-09T23:02:23.569Z","avatar_url":"https://github.com/vitalk.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"What is it?\n-----------\n\nAnsible recipe to configure a new guest to work.\n\n\n## How to run\n\n```bash\nansible-playbook recipe.yml -i hosts.example -u root --ask-su-pass\n```\n\n### Examples\n\nThe desired behavior can be refined via variables.\n\n```yaml\nuser:\n  # The user's id\n  id: 1000\n  # The user's name\n  name: user\n  # The user's encrypted password\n  password: pass\n  # The user's shell to login\n  shell: /bin/bash\n  # Path to identity key associated with user\n  identity_key: \"/path/to/identity.pub\"\n  # Whether to generate a SSH key for the user. This will not overwrite an\n  # existing SSH key.\n  generate_ssh_key: no\n\ngroup:\n  # The group id\n  id: 1000\n  # The user's primary group\n  name: admin\n```\n\n* Create a new admin user and add the your identity key to `authorized_keys` on\n  host:\n\n  ```yaml\n  - hosts: mybox\n    roles:\n      - role: domU\n        user:\n          name: vital\n          password: letmein\n          shell: /bin/bash\n          id: 1000\n          generate_ssh_key: yes\n          identity_key: \"/path/to/identity.pub\"\n  ```\n\n* Create an admin user that unable to login into host (for running certain cron\n  jobs):\n\n  ```yaml\n  - hosts: mybox\n    roles:\n      - role: domU\n        user:\n          name: zoe\n          password: letmein\n          shell: /bin/nologin\n          id: 1001\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitalk%2Fansible-domu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvitalk%2Fansible-domu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitalk%2Fansible-domu/lists"}