{"id":16780572,"url":"https://github.com/monolithprojects/ansible-system_update","last_synced_at":"2026-05-15T12:35:55.844Z","repository":{"id":115679416,"uuid":"231565475","full_name":"MonolithProjects/ansible-system_update","owner":"MonolithProjects","description":"Ansible role will update all packages on RHEL/CentOS and Debian/Ubuntu systems.","archived":false,"fork":false,"pushed_at":"2020-04-05T11:53:58.000Z","size":27,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-09T14:12:04.804Z","etag":null,"topics":["centos","debian","reboot","rhel","system-update","ubuntu"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/monolithprojects/system_update","language":"Python","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/MonolithProjects.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":"2020-01-03T10:31:43.000Z","updated_at":"2020-03-07T17:13:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"34ae9e97-94c8-4547-97a9-f84fcea4c4f8","html_url":"https://github.com/MonolithProjects/ansible-system_update","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/MonolithProjects/ansible-system_update","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MonolithProjects%2Fansible-system_update","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MonolithProjects%2Fansible-system_update/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MonolithProjects%2Fansible-system_update/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MonolithProjects%2Fansible-system_update/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MonolithProjects","download_url":"https://codeload.github.com/MonolithProjects/ansible-system_update/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MonolithProjects%2Fansible-system_update/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33067471,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"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":["centos","debian","reboot","rhel","system-update","ubuntu"],"created_at":"2024-10-13T07:35:27.059Z","updated_at":"2026-05-15T12:35:55.815Z","avatar_url":"https://github.com/MonolithProjects.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"System update\n=========\n\n\u003ca href=\"https://galaxy.ansible.com/monolithprojects/system_update\"\u003e\u003cimg src=\"https://img.shields.io/ansible/quality/46110?style=flat\u0026logo=ansible\"/\u003e\u003c/a\u003e \n\u003ca href=\"https://galaxy.ansible.com/monolithprojects/system_update\"\u003e\u003cimg src=\"https://img.shields.io/ansible/role/d/46110\"/\u003e\u003c/a\u003e \n\u003ca href=\"https://galaxy.ansible.com/monolithprojects/system_update\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/MonolithProjects/ansible-system_update\"/\u003e\u003c/a\u003e \n\u003ca href=\"https://github.com/MonolithProjects/ansible-system_update/actions\"\u003e\u003cimg src=\"https://github.com/MonolithProjects/ansible-system_update/workflows/molecule%20test/badge.svg?branch=master\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/MonolithProjects/ansible-system_update/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/MonolithProjects/ansible-system_update\"/\u003e\u003c/a\u003e\n\nThis role will update all packages on RHEL/CentOS and Debian/Ubuntu systems.  \nOptionally it can update the packages to specific distro release version (by default it is `latest`).\nAnother feature is the `smart reboot` where system will be rebooted after the package you specified in `smart_reboot_pkg:` list will be updated.\n\nRequirements\n------------\n\nSystem must have access to the packages repository (Internet, Red Hat Satellite, etc.).\n\n\nRole Variables\n--------------\n\nThis is a copy from `defaults/main.yml`\n\n```yaml\n# Autoremove unused dependency packages for all modules.\nautoremove_pkgs: no\n\n# Reboot server if specific packages are updated\n# smart_reboot_pkg:\n#     - kernel\n#     - dbus\n\n# Specifies the Linux distro release from which all packages will be installed.\n# By default the packages will be updated to the latest distro release.\n\n# Debian or Ubuntu release version (example: xenial)\n# deb_release_ver:\n\n# RHEL/CentOS release version (example 6.10)\n# el6_release_ver:\n\n# RHEL/CentOS release version (exanple: 7.6.1810)\n# el7_release_ver:\n\n# RHEL/CentOS release version (example: 8.1.1911)\n# el8_release_ver:\n```\n\nExample Playbook\n----------------\n\nSimple example. All packages will be updated to the latest version.\n\n```yaml\n---\n- name: Example\n  hosts: all\n  become: true\n  roles:\n    - role: ansible-system_update\n```\n\nIn this example `el7` system (RHEL7 or CentOS7) packages will be updated to the version same as for release `7.7.1908`. \nUsing `autoremove_pkgs` the dependencies which are no longer needed will be autoremoved. \nSystem will be rebooted if `kernel` or `dbus` package is updated.  \n\n```yaml\n---\n- name: Example\n  hosts: all\n  become: true\n  vars:\n    el7_release_ver: \"7.7.1908\"\n    autoremove_pkgs: true\n    smart_reboot_pkg:\n      - kernel\n      - dbus\n  roles:\n    - role: ansible-system_update\n```\n\nLicense\n-------\n\nMIT\n\nAuthor Information\n------------------\n\nCreated in 2020 by Michal Muransky","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonolithprojects%2Fansible-system_update","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonolithprojects%2Fansible-system_update","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonolithprojects%2Fansible-system_update/lists"}