X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/a0ef97a3169e9da8b4618116075d54c49b4292b4..2886c5bbc80d49fd24b5f27805122554ed67185c:/roles/journalwatch/tasks/main.yml 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