also create newmail settings.py
[ansible.git] / roles / journalwatch / tasks / main.yml
index 3a7afcba18ccb21414f3c62d77203cebb92ff61f..74e8f6836b90a2bfe081cbb8f43f361323edd8a1 100644 (file)
@@ -8,10 +8,10 @@
 - name: create journalwatch config dir
   file: path=/root/.config/journalwatch state=directory
 - name: install journalwatch config files
-  template:
-    src: templates/{{item}}
+  copy:
+    src: files/{{item}}
     dest: /root/.config/journalwatch/{{item}}
-  with_items:
+  loop:
   - config
   - patterns
 - name: delete old journalwatch crontab entry