{"id":20283760,"url":"https://github.com/lpsouza/windows-installer","last_synced_at":"2026-05-05T11:33:29.137Z","repository":{"id":190322553,"uuid":"681771571","full_name":"lpsouza/windows-installer","owner":"lpsouza","description":"This repository hosts Ansible playbooks designed to streamline the installation and configuration of software on Windows systems using Ansible on WSL2.","archived":false,"fork":false,"pushed_at":"2025-05-27T00:14:33.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-27T01:26:39.376Z","etag":null,"topics":["ansible","ansible-playbook","installers","windows","winrm","wsl2"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":false,"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/lpsouza.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-22T18:14:32.000Z","updated_at":"2025-05-27T00:14:36.000Z","dependencies_parsed_at":"2023-08-24T05:22:00.804Z","dependency_job_id":"84f02591-ca92-4e84-8b2c-ff319f81a09b","html_url":"https://github.com/lpsouza/windows-installer","commit_stats":null,"previous_names":["lpsouza/windows-installer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lpsouza/windows-installer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpsouza%2Fwindows-installer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpsouza%2Fwindows-installer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpsouza%2Fwindows-installer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpsouza%2Fwindows-installer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lpsouza","download_url":"https://codeload.github.com/lpsouza/windows-installer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpsouza%2Fwindows-installer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268326739,"owners_count":24232496,"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-02T02:00:12.353Z","response_time":74,"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","ansible-playbook","installers","windows","winrm","wsl2"],"created_at":"2024-11-14T14:17:00.109Z","updated_at":"2026-05-05T11:33:24.112Z","avatar_url":"https://github.com/lpsouza.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# windows-installer\n\nWelcome to the Windows Installer repository! This repository hosts Ansible playbooks designed to streamline the installation and configuration of software on Windows systems using Ansible on WSL2.\n\n## Configure WinRM to allow Ansible to connect to Windows\n\nTo establish a connection between Ansible and Windows, you'll need to set up the WinRM (Windows Remote Management) service. Follow these steps in an elevated PowerShell session:\n\n```powershell\n[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12\n$url = \"https://raw.githubusercontent.com/ansible/ansible-documentation/devel/examples/scripts/ConfigureRemotingForAnsible.ps1\"\n$file = \"$env:temp\\ConfigureRemotingForAnsible.ps1\"\n\n(New-Object -TypeName System.Net.WebClient).DownloadFile($url, $file)\n\npowershell.exe -ExecutionPolicy ByPass -File $file\n```\n\nIn case you encounter the error message `Unable to check the status of the firewall` after running the commands above, execute the following command to address the issue:\n\n```powershell\nnetsh advfirewall firewall add rule name=\"Windows Remote Management (HTTP-In)\" dir=in action=allow service=any enable=yes profile=any localport=5985 protocol=tcp\nnetsh advfirewall firewall add rule name=\"Windows Remote Management (HTTPS-In)\" dir=in action=allow service=any enable=yes profile=any localport=5986 protocol=tcp\n```\n\nThese steps should help establish a secure and seamless connection between Ansible and Windows systems.\n\n## Generate inventory file (WSL2)\n\n```bash\nchmod +x ./generate-wsl2-inventory.sh\n./generate-wsl2-inventory.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flpsouza%2Fwindows-installer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flpsouza%2Fwindows-installer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flpsouza%2Fwindows-installer/lists"}