{"id":13447954,"url":"https://github.com/Wintus/Ansible-WSL","last_synced_at":"2025-03-22T01:31:42.617Z","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":64,"open_issues_count":1,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-14T23:51:58.168Z","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":"2024-09-22T05:29:40.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,"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","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244893471,"owners_count":20527600,"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","chocolatey","ubuntu","wsl"],"created_at":"2024-07-31T05:01:31.288Z","updated_at":"2025-03-22T01:31:42.329Z","avatar_url":"https://github.com/Wintus.png","language":null,"funding_links":[],"categories":["Others","WSL Tools \u0026 Projects","WSL Tools","Tools"],"sub_categories":["10. GUI Apps","Mesh networks"],"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"}