Add a title in the daily output mail for the git status report
This commit is contained in:
parent
492ea0d568
commit
cc8a9f8eea
|
@ -17,7 +17,6 @@
|
||||||
- rsync--
|
- rsync--
|
||||||
- mtr--
|
- mtr--
|
||||||
- iftop
|
- iftop
|
||||||
- postgresql-client
|
|
||||||
- sudo--
|
- sudo--
|
||||||
tags:
|
tags:
|
||||||
- pkg
|
- pkg
|
||||||
|
|
|
@ -79,13 +79,16 @@
|
||||||
- name: cron job for /etc/.git status is installed
|
- name: cron job for /etc/.git status is installed
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/daily.local
|
path: /etc/daily.local
|
||||||
line: '/usr/local/bin/git --git-dir=/etc/.git --work-tree=/etc status --short'
|
line: {{ item }}
|
||||||
owner: root
|
owner: root
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
create: yes
|
create: yes
|
||||||
when: etc_git_monitor_status
|
when: etc_git_monitor_status
|
||||||
tags:
|
tags:
|
||||||
- etc-git
|
- 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
|
- name: cron job for /etc/.git status is removed
|
||||||
lineinfile:
|
lineinfile:
|
||||||
|
|
Loading…
Reference in a new issue