X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/8c38100fe97219ec3be527e528b59a8029368274..5d1a6a367b7f47133874abcf456411c24f6cb491:/roles/journalwatch/tasks/main.yml?ds=sidebyside 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