add curl_scheduled role

This commit is contained in:
Sergey Malyuk
2025-12-16 12:24:14 +03:00
parent 64197142db
commit 400834cc3b
21 changed files with 365 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
curl-scheduled
=========
Configure curl to run on schedule by deploying a systemd service + timer. Useful for sending heartbeats.
Requirements
------------
None
Role Variables
--------------
- `args`: arguments to the curl command
- `url`: address to be accessed by curl
- `schedule`: string compatible with systemd timer `OnSchedule` option (default: `minutely`)
Dependencies
------------
None
Example Playbook
----------------
See `molecule/default/converge.yml`.
License
-------
BSD
Author Information
------------------
msayganova@genlab.llc
corvus-migratorius@proton.me