{"id":24653877,"url":"https://github.com/joshbeard/ansible-role-os-patching","last_synced_at":"2026-04-12T09:43:17.431Z","repository":{"id":251532931,"uuid":"837662399","full_name":"joshbeard/ansible-role-os-patching","owner":"joshbeard","description":"Ansible role for patching Linux systems","archived":false,"fork":false,"pushed_at":"2024-10-16T02:54:45.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-03T01:05:33.244Z","etag":null,"topics":["ansible","patching","proxmox","updates"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"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/joshbeard.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,"zenodo":null}},"created_at":"2024-08-03T16:30:14.000Z","updated_at":"2024-10-16T02:54:49.000Z","dependencies_parsed_at":"2024-08-03T19:26:49.730Z","dependency_job_id":"f2fd48f5-d586-408c-81d7-3ffa8be13b1c","html_url":"https://github.com/joshbeard/ansible-role-os-patching","commit_stats":null,"previous_names":["joshbeard/ansible-role-os-patching"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/joshbeard/ansible-role-os-patching","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshbeard%2Fansible-role-os-patching","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshbeard%2Fansible-role-os-patching/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshbeard%2Fansible-role-os-patching/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshbeard%2Fansible-role-os-patching/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joshbeard","download_url":"https://codeload.github.com/joshbeard/ansible-role-os-patching/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshbeard%2Fansible-role-os-patching/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31710792,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T06:22:27.080Z","status":"ssl_error","status_checked_at":"2026-04-12T06:21:52.710Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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","patching","proxmox","updates"],"created_at":"2025-01-25T21:14:22.589Z","updated_at":"2026-04-12T09:43:17.394Z","avatar_url":"https://github.com/joshbeard.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible OS Patching Role\n\nAn Ansible role for OS patching.\n\nThis is a basic role for use on my personal homelab servers, so OS support is\nlimited.\n\n## OS Support\n\n* Debian/Ubuntu: Uses `apt`\n* EL: Uses `dnf`\n* FreeBSD: Uses `pkg-ng`\n\n## Usage\n\n### Tags\n\n- `check`: Check for available updates without installing them.\n- `reboot`: Reboot the system after patching if necessary.\n\nWhen no tags are specified, the system will be patched without rebooting.\n\n### Variables\n\n- `patching_reboot_ok`: If `true`, the system will be rebooted if necessary\n  after patching. Default is `false`.\n\n### Example Playbook\n\n```yaml\n- name: \"OS Patching\"\n  hosts: proxmox_all_running\n  gather_facts: true\n  become: true\n  vars:\n    patching_reboot_ok: true\n  roles:\n    - jbeard-os_patching\n```\n\nSee [example/proxmox](example/proxmox) for a full playbook example that\nuses the [`community.general.proxmox`](https://docs.ansible.com/ansible/latest/collections/community/general/proxmox_inventory.html)\ninventory source.\n\nThe [`example/proxmox/patch.sh`](example/proxmox/patch.sh) script can be used\ngenerically and makes running the playbook easier, including support for\nretrieving credentials from 1Password.\n\n### Rebooting\n\nIf the `patching_reboot_ok` variable is set to `true` and the `reboot` tag is\nset, the system will be rebooted if the system requires a reboot after\npatching.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshbeard%2Fansible-role-os-patching","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshbeard%2Fansible-role-os-patching","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshbeard%2Fansible-role-os-patching/lists"}