❗ Report issues and send Pull Requests in the main Ansible Role repository ❗
This role will deal with the setup of Cron.
It's part of the Manala Ansible stack but can be used as a stand alone component.
None.
None.
Using ansible galaxy cli:
ansible-galaxy install manala.cron
Using ansible galaxy requirements file:
- src: manala.cron
Name | Type | Description |
---|---|---|
`cron restart | Service | Restart cron service |
Name | Default | Type | Description |
---|---|---|---|
manala_cron_install_packages |
~ | Array | Dependency packages to install |
manala_cron_install_packages_default |
['cron'] | Array | Default dependency packages to install |
manala_cron_files |
[] | Array | Cron files collection |
manala_cron_files:
- file: app
user: foo
env:
FOO: foo
# Deprecated
environment:
- BAR: bar
jobs:
# Do foo bar
- name: foo-bar
job: "php /srv/app/bin/console app:foo:bar"
minute: 0
hour: 7
- hosts: servers
roles:
- { role: manala.cron }
MIT
Manala (http://www.manala.io/)