X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/8c38100fe97219ec3be527e528b59a8029368274..e950b50ac5f0ac5f5418554f260ab7916ea116bc:/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