{"id":19331071,"url":"https://github.com/systemli/ansible-role-needrestart","last_synced_at":"2026-03-11T12:50:06.161Z","repository":{"id":17278469,"uuid":"81612999","full_name":"systemli/ansible-role-needrestart","owner":"systemli","description":"Install and maintain needrestart on debian-like systems","archived":false,"fork":false,"pushed_at":"2025-03-04T18:17:02.000Z","size":108,"stargazers_count":10,"open_issues_count":0,"forks_count":10,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-02T04:47:23.974Z","etag":null,"topics":["ansible-role","debian","needrestart"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/systemli.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":"2017-02-10T22:32:03.000Z","updated_at":"2025-03-04T18:17:04.000Z","dependencies_parsed_at":"2024-08-25T20:39:25.753Z","dependency_job_id":"ef5255e3-1832-4d9a-9f09-e7c7b517605f","html_url":"https://github.com/systemli/ansible-role-needrestart","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemli%2Fansible-role-needrestart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemli%2Fansible-role-needrestart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemli%2Fansible-role-needrestart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemli%2Fansible-role-needrestart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/systemli","download_url":"https://codeload.github.com/systemli/ansible-role-needrestart/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250340274,"owners_count":21414512,"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-role","debian","needrestart"],"created_at":"2024-11-10T02:38:56.642Z","updated_at":"2026-03-11T12:50:01.134Z","avatar_url":"https://github.com/systemli.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"ansible-role-needrestart\n================\n\n[![Build Status](https://github.com/systemli/ansible-role-needrestart/workflows/Integration/badge.svg?branch=main)](https://github.com/systemli/ansible-role-needrestart/actions?query=workflow%3AIntegration)\n[![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-needrestart-blue.svg)](https://galaxy.ansible.com/systemli/needrestart/)\n\nRole to install \u0026 maintain needrestart \n\nRole Variables\n--------------\n\nDefaults:\n\n    # Admins should be informed via email\n    needrestart_notifyd_disable_email: 0\n    \n    # All other notifications should be disabled\n    needrestart_notifyd_disable_write_tty: 1\n    needrestart_notifyd_disable_needrestart_session: 1\n    needrestart_notifyd_disable_notify_send: 1\n    \n    # Restart services (l)ist only, (i)nteractive or (a)utomatically.\n    needrestart_action: l\n    \n    # Email which will be notified\n    needrestart_mail_address: $NR_USERNAME\n    \n    # Services which should be ignored\n    needrestart_ignorelist: []\n\n    # Services blacklisted as regex\n    # Example:\n    # needrestart_blacklist_rc:\n    #   - cron\\.service\n    needrestart_blacklist_rc: []\n    \n    # Blacklist binaries as regex\n    # Example:\n    # needrestart_blacklist_bin:\n    #   - /opt/.*/java\n    needrestart_blacklist_bin: []\n\n    # Custom needrestart scripts\n    # Example:\n    # needrestart_restartd:\n    #   - name: unbound\n    #     script: \"systemctl restart unbound.service\"\n    needrestart_restartd: []\n\nDownload\n--------\n\nDownload latest release with `ansible-galaxy`\n\n\tansible-galaxy install systemli.needrestart\n\nExample Playbook\n----------------\n\n    - hosts: servers\n      roles:\n         - { role: systemli.needrestart }\n\nExtended Variables Example\n--------------------------\n\n   \n    # Admins should be informed via email\n    needrestart_notifyd_disable_email: 0 \n    \n    ## Restart services (l)ist only, (i)nteractive or (a)utomatically. \n    needrestart_action: a\n    \n    # Email which will be notified, when a service should be restarted \n    needrestart_mail_address: admin@mydomain.com\n    \n    # Ignore services below during automatic restart\n    needrestart_ignorelist:\n      groupname:\n         - servicename\n      Databases:\n         - mysql\n         - mongodb\n      Mail:\n         - exim4\n         - dovecot\n      Webservers:\n        - apache2\n\nTesting \u0026 Development\n---------------------\n\nTests\n-----\n\nMolecule, Docker and Github Actions is used for continous testing.\nOn the local environment you can easily test the role with\n\n    molecule test \n\nThis requires Molecule, Vagrant and `python-vagrant` to be installed.\n\nLicense\n-------\n\nGPLv3\n\nAuthor Information\n------------------\n\nhttps://www.systemli.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystemli%2Fansible-role-needrestart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsystemli%2Fansible-role-needrestart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystemli%2Fansible-role-needrestart/lists"}