{"id":28303835,"url":"https://github.com/wintus/ansible-wsl","last_synced_at":"2025-08-12T05:09:44.796Z","repository":{"id":49997789,"uuid":"111235010","full_name":"Wintus/Ansible-WSL","owner":"Wintus","description":"Provisioning your Windows from inside of WSL by Ansible","archived":false,"fork":false,"pushed_at":"2021-06-06T13:12:53.000Z","size":45,"stargazers_count":67,"open_issues_count":1,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-03T21:47:09.323Z","etag":null,"topics":["ansible","chocolatey","ubuntu","wsl"],"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/Wintus.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":"2017-11-18T20:00:45.000Z","updated_at":"2025-08-03T01:36:33.000Z","dependencies_parsed_at":"2022-09-10T14:01:57.863Z","dependency_job_id":null,"html_url":"https://github.com/Wintus/Ansible-WSL","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Wintus/Ansible-WSL","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wintus%2FAnsible-WSL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wintus%2FAnsible-WSL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wintus%2FAnsible-WSL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wintus%2FAnsible-WSL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Wintus","download_url":"https://codeload.github.com/Wintus/Ansible-WSL/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wintus%2FAnsible-WSL/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270005591,"owners_count":24510939,"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-08-12T02:00:09.011Z","response_time":80,"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":["ansible","chocolatey","ubuntu","wsl"],"created_at":"2025-05-23T23:12:06.573Z","updated_at":"2025-08-12T05:09:44.788Z","avatar_url":"https://github.com/Wintus.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible-WSL\nProvisioning your Windows by Ansible from WSL\n\n![concept](./docs/concept.png \"concept\")\n\n## Getting Started\n\n### Prerequisites\nFirst, follow the Ansible offical setup of Windows hosts:\nhttps://docs.ansible.com/ansible/latest/user_guide/windows.html\n\nNext, get the WSL to run Ansible provisioning:\nhttps://www.microsoft.com/ja-jp/p/ubuntu/9nblggh4msv6\n(This project only supports Ubuntu).\nAfter Ubuntu setup in WSL, install Ansible by apt: `apt install ansible`.\n\nClone the source:\n\n```bash\ngit clone https://github.com/Wintus/Ansible-WSL\ncd Ansible-WSL\n```\n\n## Setup\n\nEdit the `group_vars/` and/or `host_vars/` to setup connection.\nFor details, see the guide:\n- Windows: https://docs.ansible.com/ansible/latest/user_guide/windows_winrm.html#inventory-options\n- Ubuntu: refer `localhost`, `connection=local`\n\n### Samples\n\nWindows group\n\n`host_vars/win.yml`\n\n```yaml\nansible_host: localhost\nansible_winrm_server_cert_validation: ignore\n\n# May also be passed on the command-line via --user\nansible_user:\n\n# May also be supplied at runtime with --ask-pass\nansible_password:\n```\n\nWSL group\n\n`host_vars/ubuntu.yml`\n\n```yaml\nansible_host: localhost\n\n# May also be passed on the command-line via --user\nansible_user:\n\n# May also be supplied at runtime with --ask-pass\nansible_password:\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwintus%2Fansible-wsl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwintus%2Fansible-wsl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwintus%2Fansible-wsl/lists"}