X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/5e2e9470de3933fd6560eba8ee7a4fff9568ff7c..a0ef97a3169e9da8b4618116075d54c49b4292b4:/roles/journalwatch/tasks/journalwatch.yml diff --git a/roles/journalwatch/tasks/journalwatch.yml b/roles/journalwatch/tasks/journalwatch.yml deleted file mode 100644 index c9a5375..0000000 --- a/roles/journalwatch/tasks/journalwatch.yml +++ /dev/null @@ -1,23 +0,0 @@ -- name: install journalwatch dependencies - apt: name=python3-systemd state=latest -- name: install journalwatch - git: - dest: /root/journalwatch - repo: 'https://github.com/The-Compiler/journalwatch.git' - version: b62f223bc36eabc193cfcf0d309d284da4f66463 -- name: create journalwatch config dir - file: path=/root/.config/journalwatch state=directory -- name: install journalwatch config files - template: - src: templates/{{item}} - dest: /root/.config/journalwatch/{{item}} - loop: - - config - - patterns -- name: delete old journalwatch crontab entry - file: path=/etc/cron.d/journalwatch state=absent -- name: create journalwatch crontab entry - cron: - name: "journalwatch" - minute: "*/10" - job: "/root/journalwatch/journalwatch.py mail"