remove cleanup task
[ansible.git] / roles / journalwatch / tasks / main.yml
index 3a7afcba18ccb21414f3c62d77203cebb92ff61f..cfdac0df92721b14b2a147caa4e4305d162fe3f5 100644 (file)
   template:
     src: templates/{{item}}
     dest: /root/.config/journalwatch/{{item}}
   template:
     src: templates/{{item}}
     dest: /root/.config/journalwatch/{{item}}
-  with_items:
+  loop:
   - config
   - patterns
   - config
   - patterns
+  tags: journalwatch-patterns
 - name: delete old journalwatch crontab entry
   file: path=/etc/cron.d/journalwatch state=absent
 - name: create journalwatch crontab entry
 - name: delete old journalwatch crontab entry
   file: path=/etc/cron.d/journalwatch state=absent
 - name: create journalwatch crontab entry