cronjob

Build Status

ansible-cronjob

Ansible role to install and configure cronjobs

Requirements

No further requirements besides bash.

Role Variables

Variables to use

# define list of cronjobs
#
# cronjobs:
# - name: 'Example cronjob'
#   user: 'root'
#   state: 'present'
#   minute: '20'
#   hour: '*'
#   day: '*'
#   weekday: '*'
#   month: '*'
#   job: 'curl www.google.com'
#   special_time: 'daily'

cronjobs: []

If special_time is set, minute, hour, day, weekday and month are ignored.

Dependencies

No dependencies.

Example Playbook

- hosts: servers
  roles:
     - { role: bytepark.cronjob }

License

MIT

Author Information

bytepark / 2019.

About

Ansible Role to install and configure cronjobs

Install
ansible-galaxy install bytepark/ansible-cronjob
GitHub repository
License
mit
Downloads
1354
Owner