Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
456 B

---
- 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