https://github.com/yourlabs/yourlabs.timer
Systemd timer configuration role for Ansible/Bigsudo
https://github.com/yourlabs/yourlabs.timer
Last synced: 3 months ago
JSON representation
Systemd timer configuration role for Ansible/Bigsudo
- Host: GitHub
- URL: https://github.com/yourlabs/yourlabs.timer
- Owner: yourlabs
- Created: 2019-06-19T07:47:28.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-01T05:34:14.000Z (almost 6 years ago)
- Last Synced: 2025-10-06T00:33:47.869Z (3 months ago)
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
yourlabs.timer
==============
Example usage with bigsudo (for one-shot):
bigsudo yourlabs.timer name=your-backup cmd=/your/backup.sh oncalendar='*-*-* 00:00:00 Europe/Paris'
Example usage in task:
- name: Setup backup cron
include_role: name=yourlabs.timer
vars:
name: '{{ project_instance }}-backup'
cmd: '{{ home }}/sh.yml backup'
chdir: '{{ home }}'
oncalendar: '*-*-* 23:00:00'