X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/d281db9defd2e0c0e6b9761736ff38a9df7391b0..fd3d0087259ed6991fe6ac44a1ced8507c0457e1:/roles/journalwatch/tasks/main.yml?ds=inline diff --git a/roles/journalwatch/tasks/main.yml b/roles/journalwatch/tasks/main.yml index 773a2b2..74e8f68 100644 --- a/roles/journalwatch/tasks/main.yml +++ b/roles/journalwatch/tasks/main.yml @@ -2,16 +2,16 @@ apt: name=python3-systemd state=latest - name: install journalwatch git: + dest: /root/journalwatch repo: 'https://github.com/The-Compiler/journalwatch.git' version: b62f223bc36eabc193cfcf0d309d284da4f66463 - dest: /root/journalwatch - 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 - name: delete old journalwatch crontab entry