{"id":18792839,"url":"https://github.com/deekayen/ansible-role-dotnet452","last_synced_at":"2026-03-17T18:04:13.118Z","repository":{"id":138908998,"uuid":"70746182","full_name":"deekayen/ansible-role-dotnet452","owner":"deekayen","description":"Install (or uninstall) Microsoft .NET Framework 4.5.2 using Ansible.","archived":false,"fork":false,"pushed_at":"2021-07-14T03:39:19.000Z","size":16,"stargazers_count":2,"open_issues_count":1,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-09-21T12:42:30.259Z","etag":null,"topics":["ansible","ansible-role"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/deekayen/dotnet452/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deekayen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":"deekayen","ko_fi":"deekayen","liberapay":"deekayen","custom":["paypal.me/deekayen","venmo.com/drdnorman","buymeacoff.ee/deekayen"]}},"created_at":"2016-10-12T22:15:33.000Z","updated_at":"2021-07-14T03:36:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"18be859a-86b3-456c-a7a2-5902c3269d66","html_url":"https://github.com/deekayen/ansible-role-dotnet452","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/deekayen/ansible-role-dotnet452","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deekayen%2Fansible-role-dotnet452","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deekayen%2Fansible-role-dotnet452/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deekayen%2Fansible-role-dotnet452/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deekayen%2Fansible-role-dotnet452/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deekayen","download_url":"https://codeload.github.com/deekayen/ansible-role-dotnet452/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deekayen%2Fansible-role-dotnet452/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30628405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T17:32:55.572Z","status":"ssl_error","status_checked_at":"2026-03-17T17:32:38.732Z","response_time":56,"last_error":"SSL_read: 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":["ansible","ansible-role"],"created_at":"2024-11-07T21:22:03.697Z","updated_at":"2026-03-17T18:04:13.100Z","avatar_url":"https://github.com/deekayen.png","language":null,"funding_links":["https://github.com/sponsors/deekayen","https://ko-fi.com/deekayen","https://liberapay.com/deekayen","paypal.me/deekayen","venmo.com/drdnorman","buymeacoff.ee/deekayen"],"categories":[],"sub_categories":[],"readme":".NET Framework 4.5.2\n====================\n[![CI](https://github.com/deekayen/ansible-role-dotnet452/actions/workflows/ci.yml/badge.svg)](https://github.com/deekayen/ansible-role-dotnet452/actions/workflows/ci.yml) [![Project Status: Inactive – The project has reached a stable, usable state but is no longer being actively developed; support/maintenance will be provided as time allows.](https://www.repostatus.org/badges/latest/inactive.svg)](https://www.repostatus.org/#inactive)\n\nInstall (or uninstall) Microsoft .NET Framework 4.5.2 on Windows.\n\nRequirements\n------------\n\nThe target Windows machines must have whitelisted Internet access to download the .NET installer from [download.microsoft.com]().\n\nRole Variables\n--------------\n\nBy default, this role installs the .NET Framework. Toggling the `dotnet452_uninstall` variable from `false` to `true` will uninstall the framework if it exists.\n\nDependencies\n------------\n\nNone.\n\nExample Playbook\n----------------\n\n    - hosts: servers\n      roles:\n         - { role: deekayen.dotnet452, dotnet452_uninstall: false }\n\nExample Install\n---------------\n\n    TASK [deekayen.dotnet452 : Install Microsoft .NET Framework 4.5.2.] ************\n    ok: [10.0.0.100] =\u003e {\"changed\": false, \"name\": \"https://download.microsoft.com/download/E/2/1/E21644B5-2DF2-47C2-91BD-63C560427900/NDP452-KB2901907-x86-x64-AllOS-ENU.exe\"}\n\n    TASK [deekayen.dotnet452 : debug] **********************************************\n    ok: [10.0.0.100] =\u003e {\n        \"dotnet452_exe\": {\n            \"changed\": false,\n            \"name\": \"https://download.microsoft.com/download/E/2/1/E21644B5-2DF2-47C2-91BD-63C560427900/NDP452-KB2901907-x86-x64-AllOS-ENU.exe\"\n        }\n    }\n\nBecause the uninstall task uses Ansible's `raw` module, the play output will always report `ok` status instead of `changed`. The playbook may also complete before the msiexec process has completely finished uninstalling the framework.\n\n### Windows 2008R2\n\nMicrosoft .NET Framework must exist already on Windows 2008R2 for Ansible to connect and invoke Powershell. This module will confirm that the desired version is installed.\n\nExample Uninstall\n-----------------\n\n    TASK [deekayen.dotnet452 : Uninstall Microsoft .NET Framework 4.5.2.] **********\n    ok: [10.0.0.100] =\u003e {\"changed\": false, \"rc\": 0, \"stderr\": \"\", \"stdout\": \"\", \"stdout_lines\": []}\n\n    TASK [deekayen.dotnet452 : debug] **********************************************\n    ok: [10.0.0.100] =\u003e {\n        \"dotnet452_removed\": {\n            \"changed\": false,\n            \"rc\": 0,\n            \"stderr\": \"\",\n            \"stdout\": \"\",\n            \"stdout_lines\": []\n        }\n    }\n\n### Caveat\n\nUninstalling .NET Framework on Windows 2008R2 will break Ansible's ability to invoke Powershell. You won't be able to reconnect with Ansible to the remote host until you re-install .NET Framework by some other means than this role.\n\n\nLicense\n-------\n\nBSD\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeekayen%2Fansible-role-dotnet452","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeekayen%2Fansible-role-dotnet452","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeekayen%2Fansible-role-dotnet452/lists"}