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

bugfix vars file

parent b40f7d01
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 - name: Uploading service file
template: template:
src: service.j2 src: service.j2
...@@ -37,5 +28,3 @@ ...@@ -37,5 +28,3 @@
daemon_reload: true daemon_reload: true
scope: "{{ systemd_scope | default('system') }}" scope: "{{ systemd_scope | default('system') }}"
with_dict: "{{ timers }}" 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