This commit is contained in:
parent
bd22b0545b
commit
6b7c7b80c4
|
@ -27,7 +27,8 @@
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
create: true
|
create: true
|
||||||
when:
|
when:
|
||||||
- not (daily_local_content.stdout | regex_search('sh /usr/share/scripts/zzz_evobackup'))
|
- not (daily_local_content.stdout
|
||||||
|
| regex_search('sh /usr/share/scripts/zzz_evobackup'))
|
||||||
tags:
|
tags:
|
||||||
- evobackup
|
- evobackup
|
||||||
|
|
||||||
|
|
|
@ -79,7 +79,8 @@
|
||||||
- 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:
|
||||||
|
'/usr/local/bin/git --git-dir=/etc/.git --work-tree=/etc status --short'
|
||||||
owner: root
|
owner: root
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
create: true
|
create: true
|
||||||
|
@ -91,7 +92,8 @@
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/daily.local
|
path: /etc/daily.local
|
||||||
line: 'next_part "Checking /etc git status:"'
|
line: 'next_part "Checking /etc git status:"'
|
||||||
insertbefore: '/usr/local/bin/git --git-dir=/etc/.git --work-tree=/etc status --short'
|
insertbefore:
|
||||||
|
'/usr/local/bin/git --git-dir=/etc/.git --work-tree=/etc status --short'
|
||||||
when: etc_git_monitor_status
|
when: etc_git_monitor_status
|
||||||
tags:
|
tags:
|
||||||
- etc-git
|
- etc-git
|
||||||
|
|
Loading…
Reference in a new issue