Add a title in the daily output mail for the git status report

This commit is contained in:
Tristan PILAT 2019-05-05 21:42:21 +02:00 committed by Gitea
parent b23a579603
commit 38273ecf33
2 changed files with 4 additions and 2 deletions

View file

@ -17,7 +17,6 @@
- rsync--
- mtr--
- iftop
- postgresql-client
- sudo--
tags:
- pkg

View file

@ -79,13 +79,16 @@
- name: cron job for /etc/.git status is installed
lineinfile:
path: /etc/daily.local
line: '/usr/local/bin/git --git-dir=/etc/.git --work-tree=/etc status --short'
line: {{ item }}
owner: root
mode: "0644"
create: yes
when: etc_git_monitor_status
tags:
- etc-git
with_items:
- 'next_part "Checking /etc git status:"'
- '/usr/local/bin/git --git-dir=/etc/.git --work-tree=/etc status --short'
- name: cron job for /etc/.git status is removed
lineinfile: