debops.cron default variables

General configuration

cron__enabled

Enable or disable cron management using this role.

cron__enabled: True
cron__base_packages

List of APT packages to install for cron support.

cron__base_packages: [ 'cron' ]
cron__packages

List of additional APT packages to install with cron.

cron__packages: []

Scheduled job configuration

The variables below define cron jobs managed by the cron Ansible module. See cron__jobs for more details.

cron__default_jobs

YAML dictionary with a set of default cron jobs to configure on a host (currently none).

cron__default_jobs: {}
cron__dependent_jobs

YAML dictionary with a set of cron jobs defined by other Ansible roles through the role dependent variables.

cron__dependent_jobs: {}
cron__jobs

YAML dictionary with a set of cron jobs defined for all hosts in the Ansible inventory.

cron__jobs: {}
cron__group_jobs

YAML dictionary with a set of cron jobs defined for hosts in a given Ansible inventory group.

cron__group_jobs: {}
cron__host_jobs

YAML dictionary with a set of cron jobs defined for specific hosts in the Ansible inventory.

cron__host_jobs: {}
cron__combined_jobs

YAML dictionary which combines the cron jobs defined in other variables. This variable is used in the Ansible tasks.

cron__combined_jobs: '{{ lookup("template",
                         "lookup/cron__combined_jobs.j2",
                         convert_data=False) | from_yaml }}'