remove do-update script
[ansible.git] / roles / journalwatch / tasks / main.yml
index 74e8f6836b90a2bfe081cbb8f43f361323edd8a1..cfdac0df92721b14b2a147caa4e4305d162fe3f5 100644 (file)
@@ -8,12 +8,13 @@
 - name: create journalwatch config dir
   file: path=/root/.config/journalwatch state=directory
 - name: install journalwatch config files
-  copy:
-    src: files/{{item}}
+  template:
+    src: templates/{{item}}
     dest: /root/.config/journalwatch/{{item}}
   loop:
   - config
   - patterns
+  tags: journalwatch-patterns
 - name: delete old journalwatch crontab entry
   file: path=/etc/cron.d/journalwatch state=absent
 - name: create journalwatch crontab entry