X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/8c38100fe97219ec3be527e528b59a8029368274..93e78be7a2101609149534138cbd4c627a80c393:/roles/journalwatch/tasks/main.yml diff --git a/roles/journalwatch/tasks/main.yml b/roles/journalwatch/tasks/main.yml index 3a7afcb..8e64af3 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 - template: - src: templates/{{item}} + copy: + src: files/{{item}} dest: /root/.config/journalwatch/{{item}} - with_items: + 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