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
parent 492ea0d568
commit cc8a9f8eea
2 changed files with 4 additions and 2 deletions

View file

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

View file

@ -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: