mirror of
https://github.com/de-it-krachten/ansible-role-cron
synced 2026-05-14 11:41:53 +00:00
No description
- Jinja 100%
# [1.9.0](https://github.com/de-it-krachten/ansible-role-cron/compare/v1.8.0...v1.9.0) (2026-03-15) ### Features * Added support for Fedora 43 ([ |
||
|---|---|---|
| .github/workflows | ||
| defaults | ||
| handlers | ||
| meta | ||
| molecule/default | ||
| tasks | ||
| .ansible-lint | ||
| .cicd | ||
| .cicd.overwrite | ||
| .collections | ||
| .gitignore | ||
| .releaserc.yml | ||
| .roles | ||
| .yamllint | ||
| CHANGELOG.md | ||
| README.md | ||
ansible-role-cron
Installs & manages cron
Dependencies
Roles
None
Collections
None
Platforms
Supported platforms
- Red Hat Enterprise Linux 81
- Red Hat Enterprise Linux 91
- Red Hat Enterprise Linux 101
- RockyLinux 8
- RockyLinux 9
- RockyLinux 10
- OracleLinux 8
- OracleLinux 9
- OracleLinux 10
- AlmaLinux 8
- AlmaLinux 9
- AlmaLinux 10
- Debian 11 (Bullseye)
- Debian 12 (Bookworm)
- Debian 13 (Trixie)
- Ubuntu 20.04 LTS
- Ubuntu 22.04 LTS
- Ubuntu 24.04 LTS
- Fedora 42
- Fedora 43
Note: 1 : no automated testing is performed on these platforms
Role Variables
defaults/main.yml
# list of cron packages (see vars/ for OS specific file)
cron_packages: []
# name of the cron service (see vars/ for OS specific file)
cron_service: cron
defaults/family-Debian.yml
# List of required OS packages
cron_packages:
- cron
# Service name
cron_service: cron
# Configuration file
cron_config_file: /etc/default/cron
# Cunstom config lines to inset into 'cron_config_file'
cron_custom_config: []
defaults/family-RedHat.yml
# List of required OS packages
cron_packages:
- cronie
# Service name
cron_service: crond
# Configuration file
cron_config_file: /etc/sysconfig/crond
# Cunstom config lines to inset into 'cron_config_file'
cron_custom_config: []
defaults/family-Suse.yml
# List of required OS packages
cron_packages:
- cronie
# Service name
cron_service: cron
# Configuration file
cron_config_file: /etc/sysconfig/crond
# Cunstom config lines to inset into 'cron_config_file'
cron_custom_config: []
Example Playbook
molecule/default/converge.yml
- name: sample playbook for role 'cron'
hosts: all
become: 'yes'
tasks:
- name: Include role 'cron'
ansible.builtin.include_role:
name: cron