19 lines
626 B
YAML
19 lines
626 B
YAML
---
|
|
# Copyright (C) 2016-2017 Maciej Delmanowski <drybjed@gmail.com>
|
|
# Copyright (C) 2016-2017 DebOps <https://debops.org/>
|
|
# SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
- name: Manage cron jobs
|
|
collections: [ 'debops.debops', 'debops.roles01',
|
|
'debops.roles02', 'debops.roles03' ]
|
|
hosts: [ 'debops_all_hosts', 'debops_service_cron' ]
|
|
become: True
|
|
|
|
environment: '{{ inventory__environment | d({})
|
|
| combine(inventory__group_environment | d({}))
|
|
| combine(inventory__host_environment | d({})) }}'
|
|
|
|
roles:
|
|
|
|
- role: cron
|
|
tags: [ 'role::cron', 'skip::cron' ]
|