{"id":16779636,"url":"https://github.com/ahuffman/patching","last_synced_at":"2025-04-10T20:52:38.845Z","repository":{"id":69819742,"uuid":"144587387","full_name":"ahuffman/patching","owner":"ahuffman","description":" An Ansible Role to perform automated patching of systems. The Role checks to see if services need restarting and also if the system needs a reboot due to patching.","archived":false,"fork":false,"pushed_at":"2021-07-19T21:43:30.000Z","size":10,"stargazers_count":7,"open_issues_count":0,"forks_count":13,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T18:21:29.096Z","etag":null,"topics":["ansible","ansible-patching","ansible-role","patching"],"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/ahuffman.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-13T13:59:25.000Z","updated_at":"2025-02-06T20:46:16.000Z","dependencies_parsed_at":"2023-06-18T21:27:02.983Z","dependency_job_id":null,"html_url":"https://github.com/ahuffman/patching","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahuffman%2Fpatching","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahuffman%2Fpatching/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahuffman%2Fpatching/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahuffman%2Fpatching/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahuffman","download_url":"https://codeload.github.com/ahuffman/patching/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248297011,"owners_count":21080309,"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-patching","ansible-role","patching"],"created_at":"2024-10-13T07:31:12.162Z","updated_at":"2025-04-10T20:52:38.837Z","avatar_url":"https://github.com/ahuffman.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"![Ansible Role](https://img.shields.io/ansible/role/d/30634)\n\n# ahuffman.patching\n\nAn Ansible Role to perform automated patching of systems.  The Role checks to see if services need restarting and also if the system needs a reboot due to patching.\n\n# Role Variables\n| Variable Name | Required | Description | Default Value | Variable Type |\n| --- | :---: | --- | --- | :---: |\n| patch_display_patch_output | yes | Whether or not to display output results of patching procedure | True | boolean |\n| patch_reboot_message | no | Message to pass to the reboot module when a reboot is required due to patching activities. | \"Rebooting due to patching.\" | string |\n| patch_pkgs | no | List of specific packages to patch. **Patches all packages by default.** | [\"*\"] | list |\n| patch_never_reboot | no | To ensure a system never reboots if a reboot is required post patching, set to True | False | boolean |\n| patch_never_restart_svc | no | To ensure services never restart if required post patching, set to True | False | boolean |\n\n# Example Playbook\n```yaml\n    - hosts: \"all\"\n      tasks:\n        - name: \"Patch Servers\"\n          include_role:\n            name: \"ahuffman.patching\"\n          vars:\n            patch_display_patch_output: False\n            patch_pkgs:\n              - \"yum\"\n              - \"httpd\"\n              - \"ansible\"\n            patch_never_reboot: True\n            patch_never_restart_svc: True\n```\n# License\n[MIT](LICENSE)\n\n# Author Information\n[Andrew J. Huffman](https://github.com/ahuffman)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahuffman%2Fpatching","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahuffman%2Fpatching","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahuffman%2Fpatching/lists"}