X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/a0ef97a3169e9da8b4618116075d54c49b4292b4..f01791c935972bc8fa351f719d24ac4aee1d4eff:/roles/journalwatch/tasks/main.yml?ds=inline diff --git a/roles/journalwatch/tasks/main.yml b/roles/journalwatch/tasks/main.yml index 74e8f68..cfdac0d 100644 --- a/roles/journalwatch/tasks/main.yml +++ b/roles/journalwatch/tasks/main.yml @@ -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