{"id":18792848,"url":"https://github.com/deekayen/ansible-role-cleanmgr","last_synced_at":"2025-04-13T14:31:35.836Z","repository":{"id":138908927,"uuid":"93196358","full_name":"deekayen/ansible-role-cleanmgr","owner":"deekayen","description":"Install Desktop Experience and then run Disk Cleanup on Microsoft Windows using Ansible.","archived":false,"fork":false,"pushed_at":"2020-10-06T20:51:30.000Z","size":25,"stargazers_count":5,"open_issues_count":2,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-27T06:01:40.371Z","etag":null,"topics":["ansible","ansible-role","desktop-experience","disk-cleanup"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/deekayen/cleanmgr/","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":"2017-06-02T19:11:29.000Z","updated_at":"2024-07-22T04:18:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"990cd05c-61cc-487d-9a9f-d6a9cea7785d","html_url":"https://github.com/deekayen/ansible-role-cleanmgr","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deekayen%2Fansible-role-cleanmgr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deekayen%2Fansible-role-cleanmgr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deekayen%2Fansible-role-cleanmgr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deekayen%2Fansible-role-cleanmgr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deekayen","download_url":"https://codeload.github.com/deekayen/ansible-role-cleanmgr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248727976,"owners_count":21152135,"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","ansible-role","desktop-experience","disk-cleanup"],"created_at":"2024-11-07T21:22:05.635Z","updated_at":"2025-04-13T14:31:35.830Z","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":["Others"],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/deekayen/ansible-role-cleanmgr.svg?branch=main)](https://travis-ci.org/deekayen/ansible-role-cleanmgr) [![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\nDisk Cleanup\n============\n\nInstall the Desktop Experience feature and run Disk Cleanup on Microsoft Windows.\n\nRole Variables\n--------------\n\nSetting the `cleanmgr_install_reboot` value to `true` allows Ansible to reboot\nthe target Windows computer after installing the Desktop Experience feature.\nAnsible doesn't get a result from `cleanmgr.exe` to know if it should reboot or not, so toggling `cleanmgr_cleanmgr_reboot` will always or never reboot after running `cleanmgr.exe`.\n\n    cleanmgr_install_reboot: true\n    cleanmgr_cleanmgr_reboot: false\n    cleanmgr_sagerun: \"0001\"\n\n    cleanmgr_active_setup_temp_folders: false\n    cleanmgr_branchcache: false\n    cleanmgr_downloaded_program_files: true\n    cleanmgr_install_path: C:/Windows/System32/cleanmgr.exe\n    cleanmgr_internet_cache_files: true\n    cleanmgr_memory_dump_files: false\n    cleanmgr_old_chkdsk_files: false\n    cleanmgr_previous_installations: false\n    cleanmgr_recycle_bin: false\n    cleanmgr_service_pack_cleanup: false\n    cleanmgr_setup_log_files: false\n    cleanmgr_system_error_memory_dump_files: false\n    cleanmgr_system_error_minidump_files: false\n    cleanmgr_temporary_files: false\n    cleanmgr_temporary_setup_files: false\n    cleanmgr_thumbnail_cache: false\n    cleanmgr_upgrade_discarded_files: false\n    cleanmgr_user_file_versions: false\n    cleanmgr_windows_defender: false\n    cleanmgr_windows_error_reporting_archive_files: false\n    cleanmgr_windows_error_reporting_queue_files: false\n    cleanmgr_windows_error_reporting_system_archive_files: false\n    cleanmgr_windows_error_reporting_system_queue_files: false\n    cleanmgr_windows_esd_installation_files: false\n    cleanmgr_update_cleanup: true\n    cleanmgr_windows_upgrade_log_files: false\n\nExample Playbook\n----------------\n\n    - hosts: servers\n      roles:\n         - { role: deekayen.cleanmgr, cleanmgr_install_reboot: false }\n\nRequirements\n------------\n\nWindows 2012R2+. Executing cleanmgr.exe by Powershell over winrm on Windows 2008 doesn't seem to work well.\n\nDependencies\n------------\n\nNone.\n\nLicense\n-------\n\nBSD\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeekayen%2Fansible-role-cleanmgr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeekayen%2Fansible-role-cleanmgr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeekayen%2Fansible-role-cleanmgr/lists"}