mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-29 10:45:42 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
12
roles/timers/tasks/facts.yml
Normal file
12
roles/timers/tasks/facts.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
|
||||
- name: Merge timer settings with defaults
|
||||
set_fact: system_timers_conf={{ system_timers_conf | default([]) + [ system_timer_defaults | combine(item, recursive=True) ] }}
|
||||
loop: "{{ system_timers }}"
|
||||
tags: system,cron
|
||||
- set_fact: system_timers={{ system_timers_conf | default([]) }}
|
||||
tags: system,cron
|
||||
|
||||
- name: Build a list of managed timers
|
||||
set_fact: system_timers_managed={{ system_timers | map(attribute='id') | list }}
|
||||
tags: system,cron
|
Reference in New Issue
Block a user