Skip to content
Snippets Groups Projects
Commit 606db2a8 authored by hofmann's avatar hofmann :speech_balloon:
Browse files

Merge branch 'dev' into 'main'

bugfix vars file

See merge request ansible/referat25/role-systemd-timer!1
parents b40f7d01 3150cfe5
No related branches found
No related tags found
1 merge request!1bugfix vars file
---
---
- block:
- name: Failing when timer_command is undefined
fail:
msg: Varible timer_command is not defined
when: item.value.timer_command is undefined
with_dict: "{{ timers }}"
- name: Uploading service file
template:
src: service.j2
......@@ -37,5 +28,3 @@
daemon_reload: true
scope: "{{ systemd_scope | default('system') }}"
with_dict: "{{ timers }}"
\ No newline at end of file
when: timers is defined
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment