{"id":21400268,"url":"https://github.com/oefenweb/ansible-run-parts","last_synced_at":"2026-04-20T05:01:44.846Z","repository":{"id":54248213,"uuid":"134551599","full_name":"Oefenweb/ansible-run-parts","owner":"Oefenweb","description":"Ansible role to manage run-parts (and scripts) in Debian-like systems","archived":false,"fork":false,"pushed_at":"2023-11-02T11:06:51.000Z","size":69,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-12T15:44:39.970Z","etag":null,"topics":["ansible","debian","run-parts","ubuntu"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/Oefenweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-05-23T10:13:08.000Z","updated_at":"2023-01-17T18:45:43.000Z","dependencies_parsed_at":"2023-02-08T19:15:17.325Z","dependency_job_id":"d441e146-fe76-4987-be8f-075ef05462ad","html_url":"https://github.com/Oefenweb/ansible-run-parts","commit_stats":null,"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"purl":"pkg:github/Oefenweb/ansible-run-parts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fansible-run-parts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fansible-run-parts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fansible-run-parts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fansible-run-parts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Oefenweb","download_url":"https://codeload.github.com/Oefenweb/ansible-run-parts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fansible-run-parts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32033717,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"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":["ansible","debian","run-parts","ubuntu"],"created_at":"2024-11-22T15:20:29.099Z","updated_at":"2026-04-20T05:01:44.832Z","avatar_url":"https://github.com/Oefenweb.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"## run-parts\n\n[![CI](https://github.com/Oefenweb/ansible-run-parts/workflows/CI/badge.svg)](https://github.com/Oefenweb/ansible-run-parts/actions?query=workflow%3ACI)\n[![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-run--parts-blue.svg)](https://galaxy.ansible.com/Oefenweb/run_parts)\n\nManage `run-parts` (and scripts) in Debian-like systems.\n\n#### Requirements\n\n* `debianutils` (will be installed)\n* `cron` (will be installed)\n\n#### Variables\n\n* `run_parts_groups`: [default: `[]`]: Group declarations (e.g. directories)\n* `run_parts_groups.{n}.name`: [required]: Name (e.g. `lorem`, will result in the directory `/etc/run-parts/lorem.d`)\n* `run_parts_groups.{n}.owner`: [optional, default `root`]: The name of the user that should own the directory\n* `run_parts_groups.{n}.group`: [optional, default `root`]: The name of the group that should own the directory\n* `run_parts_groups.{n}.mode`: [optional, default `0755`]: The UNIX permission mode bits of the directory\n* `run_parts_groups.{n}.parts`: [optional, default `[]`]: Part declarations (e.g. files)\n* `run_parts_groups.{n}.parts.{m}.name`: [required]: Name (e.g. `00-ipsum`)\n* `run_parts_groups.{n}.parts.{m}.content`: [optional, default `''`]: (File) content\n* `run_parts_groups.{n}.owner`: [optional, default `root`]: The name of the user that should own the file\n* `run_parts_groups.{n}.group`: [optional, default `root`]: The name of the group that should own the file\n* `run_parts_groups.{n}.mode`: [optional, default `0755`]: The UNIX permission mode bits of the file\n* `run_parts_groups.{n}.parts.{m}.state`: [optional, default `present`]: State\n* `run_parts_groups.{n}.state`: [optional, default `present`]: State\n\n* `run_parts_jobs`: [default: `[]`]: Sync jobs (scheduled by `cron.d`)\n* `run_parts_jobs.{n}.name`: [required]: Description of a crontab entry, should be unique, and changing the value will result in a new cron task being created (e.g. `lorem.d`)\n* `run_parts_jobs.{n}.job`: [required]: The command to execute (e.g. `run-parts /etc/run-parts/lorem.d`)\n* `run_parts_jobs.{n}.state`: [default: `present`]: Whether to ensure the job is present or absent\n* `run_parts_jobs.{n}.day`: [default: `*`]: Day of the month the job should run (`1-31`, `*`, `*/2`)\n* `run_parts_jobs.{n}.hour`: [default: `*`]: Hour when the job should run (e.g. `0-23`, `*`, `*/2`)\n* `run_parts_jobs.{n}.minute`: [default: `*`]: Minute when the job should run (e.g. `0-59`, `*`, `*/2`)\n* `run_parts_jobs.{n}.month`: [default: `*`]: Month of the year the job should run (e.g `1-12`, `*`, `*/2`)\n* `run_parts_jobs.{n}.weekday`: [default: `*`]: Day of the week that the job should run (e.g. `0-6` for Sunday-Saturday, `*`)\n\n#### Dependencies\n\nNone\n\n#### Example(s)\n\n```yaml\n---\n- hosts: all\n  roles:\n    - oefenweb.run-parts\n  vars:\n    run_parts_groups:\n      - name: lorem\n        parts:\n          - name: 00-ipsum\n            content: |\n              #!/usr/bin/env bash\n              echo \"${0}\" $(( ( RANDOM % 10 ) + 1 ));\n          - name: 01-dolor\n            content: |\n              #!/usr/bin/env bash\n              echo \"${0}\" $(( ( RANDOM % 10 ) + 1 ));\n\n      - name: sit\n        parts:\n          - name: 00-amet\n            content: |\n              #!/usr/bin/env bash\n              echo \"${0}\" $(( ( RANDOM % 10 ) + 1 ));\n          - name: consectetur\n            state: absent\n\n      - name: adipiscing\n        state: absent\n\n    run_parts_jobs:\n    - name: lorem.d\n      job: run-parts /etc/run-parts/lorem.d\n      minute: '@daily'\n```\n\n#### License\n\nMIT\n\n#### Author Information\n\nMischa ter Smitten\n\n#### Feedback, bug-reports, requests, ...\n\nAre [welcome](https://github.com/Oefenweb/ansible-run-parts/issues)!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foefenweb%2Fansible-run-parts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foefenweb%2Fansible-run-parts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foefenweb%2Fansible-run-parts/lists"}