generate virtual transport_map from mailman and dovecot domain lists
[ansible.git] / roles / journalwatch / tasks / main.yml
index 773a2b20a8d6672276e776a7ed8dc9ac1692afab..74e8f6836b90a2bfe081cbb8f43f361323edd8a1 100644 (file)
@@ -2,16 +2,16 @@
   apt: name=python3-systemd state=latest
 - name: install journalwatch
   git:
   apt: name=python3-systemd state=latest
 - name: install journalwatch
   git:
+    dest: /root/journalwatch
     repo: 'https://github.com/The-Compiler/journalwatch.git'
     version: b62f223bc36eabc193cfcf0d309d284da4f66463
     repo: 'https://github.com/The-Compiler/journalwatch.git'
     version: b62f223bc36eabc193cfcf0d309d284da4f66463
-    dest: /root/journalwatch
 - name: create journalwatch config dir
   file: path=/root/.config/journalwatch state=directory
 - name: install journalwatch config files
 - 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}}
     dest: /root/.config/journalwatch/{{item}}
-  with_items:
+  loop:
   - config
   - patterns
 - name: delete old journalwatch crontab entry
   - config
   - patterns
 - name: delete old journalwatch crontab entry