{"id":14984486,"url":"https://github.com/voidquark/el_patching","last_synced_at":"2025-08-21T01:32:18.947Z","repository":{"id":63200704,"uuid":"560148650","full_name":"voidquark/el_patching","owner":"voidquark","description":"Ansible Role - Enterprise Linux OS patching","archived":false,"fork":false,"pushed_at":"2024-08-14T12:18:46.000Z","size":25,"stargazers_count":50,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-08T01:42:18.669Z","etag":null,"topics":["almalinux","ansible","ansible-role","linux","patching","redhat","rockylinux","server"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/ui/standalone/roles/voidquark/el_patching/","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/voidquark.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":"2022-10-31T20:52:28.000Z","updated_at":"2025-02-06T19:56:35.000Z","dependencies_parsed_at":"2022-11-14T20:31:06.252Z","dependency_job_id":"b92c4537-9674-4073-9ef9-3fe068010be6","html_url":"https://github.com/voidquark/el_patching","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/voidquark/el_patching","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidquark%2Fel_patching","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidquark%2Fel_patching/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidquark%2Fel_patching/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidquark%2Fel_patching/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/voidquark","download_url":"https://codeload.github.com/voidquark/el_patching/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voidquark%2Fel_patching/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271415035,"owners_count":24755628,"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-20T02:00:09.606Z","response_time":69,"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":["almalinux","ansible","ansible-role","linux","patching","redhat","rockylinux","server"],"created_at":"2024-09-24T14:09:09.129Z","updated_at":"2025-08-21T01:32:18.697Z","avatar_url":"https://github.com/voidquark.png","language":null,"readme":"# Ansible role - EL Patching\n\n[![License](https://img.shields.io/github/license/voidquark/el_patching)](LICENSE)\n\nApply OS patches on Enterprise Linux (RHEL) and other Red Hat derivatives (e.g. CentOS, Rocky, Alma, Fedora). You can decide which patching method you want to use. There are 3 methods:\n\n- `all` - Apply all patches on target a host\n- `security` - Apply only security patches on target a host\n- `bugfix` - Apply only bugfix patches on target a host\n\n**I recommend visiting the [blog post](https://voidquark.com/blog/ansible-linux-os-patching/) for detailed information, usage example, and my recommendation.**\n\n## Requirements\n\nOnly dnf must be available on the target machine.\n\n## Role Variables\n\n- **Default Variables**. Usually, there is no need to change this but rather overwrite the value in `host_vars` or `group_vars` if required.\n\n| Variable Name  | Default Value | Description\n| ----------- | ----------- | ----------- |\n| `el_patching_required_packages` | `\"yum-utils\"` | It is required to install yum-utils as this role verifies reboot with `needs-restarting`.\n| `el_patching_auto_reboot` | `false` | By default do not reboot the target host. Only verify if a reboot is required.\n| `el_patching_reboot_timeout` | `600` | By default auto reboot is disabled but the default timeout value is set to 5 minutes. Value is in `seconds`.\n| `el_patching_method` | `\"security\"` | By default apply only `security` patches on the target host. Possible values `\"security\"/\"bugfix\"/\"all\"`\n\n- **group_vars** or **host_vars** variables.\n\n| Variable Name | Example Usage | Required | Description\n| ----------- | ----------- | ----------- | ----------- |\n| `el_patching_exclude_packages` | \u003cpre\u003eel_patching_exclude_packages:\u003cbr\u003e\u0026emsp;- tar\u003cbr\u003e\u0026emsp;- zip\u003c/pre\u003e | No | Exclude packages during patching.\n| `el_patching_update_cache` | `true` | No | Force dnf to check if cache is out of date and re-download if needed.\n\n## Dependencies\n\nNo Dependencies\n\n## Example Playbook\n\nCreate the following playbook.\n```yaml\n- name: Apply OS Patches\n  hosts: your_patching_inventory_group_or_host\n  become: true\n  roles:\n    - voidquark.el_patching\n```\n\n## Example execution\n\n- Normal Execution \n```shell\nansible-playbook -i inventory/hosts playbook.yml\n```\n\n- If you want to run playbook in check mode\n```shell\nansible-playbook -i inventory/hosts playbook.yml --check\n```\n\n\n## License\n\nMIT\n\n## Author Information\n\nCreated by [VoidQuark](https://voidquark.com)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoidquark%2Fel_patching","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvoidquark%2Fel_patching","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoidquark%2Fel_patching/lists"}