Add a title in the daily output mail for the git status report
This commit is contained in:
parent
b23a579603
commit
38273ecf33
|
@ -17,7 +17,6 @@
|
|||
- rsync--
|
||||
- mtr--
|
||||
- iftop
|
||||
- postgresql-client
|
||||
- sudo--
|
||||
tags:
|
||||
- pkg
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue