summaryrefslogtreecommitdiff
path: root/roles/dyndns/client/tasks/main.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2019-05-25 03:12:47 +0200
committerChristian Pointner <equinox@spreadspace.org>2019-05-25 03:12:47 +0200
commitf8ab68e40dda046171de02df6a7c12514f570bf8 (patch)
treeabe825df189af419216eb66c857cb3f8f089578f /roles/dyndns/client/tasks/main.yml
parentloop vs. with - the beginnings... (diff)
replace all with_items with loop
Diffstat (limited to 'roles/dyndns/client/tasks/main.yml')
-rw-r--r--roles/dyndns/client/tasks/main.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/dyndns/client/tasks/main.yml b/roles/dyndns/client/tasks/main.yml
index 80e0e13b..6f2ff021 100644
--- a/roles/dyndns/client/tasks/main.yml
+++ b/roles/dyndns/client/tasks/main.yml
@@ -45,12 +45,12 @@
- name: install systemd units
+ loop:
+ - service
+ - timer
template:
src: "dyndns.{{ item }}.j2"
dest: "/etc/systemd/system/dyndns.{{ item }}"
- with_items:
- - service
- - timer
- name: make sure the systemd timer is enabled and running
systemd: