etc-git: chmod 600 for local periodic files (daily, weekly, monthly)
This commit is contained in:
parent
12c8f02884
commit
0e9df878e1
|
@ -30,6 +30,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
- pf: reorder some rules, more details on some comments
|
- pf: reorder some rules, more details on some comments
|
||||||
- update of tags for each tasks and ease the update of scripts
|
- update of tags for each tasks and ease the update of scripts
|
||||||
- evocheck: execute evocheck without --cron the first of the month
|
- evocheck: execute evocheck without --cron the first of the month
|
||||||
|
- etc-git: chmod 600 for local periodic files (daily, weekly, monthly)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|
|
@ -76,7 +76,7 @@
|
||||||
path: /etc/monthly.local
|
path: /etc/monthly.local
|
||||||
line: "/usr/share/scripts/etc-git-optimize"
|
line: "/usr/share/scripts/etc-git-optimize"
|
||||||
owner: root
|
owner: root
|
||||||
mode: "0644"
|
mode: "0600"
|
||||||
create: true
|
create: true
|
||||||
tags:
|
tags:
|
||||||
- etc-git
|
- etc-git
|
||||||
|
@ -87,7 +87,7 @@
|
||||||
line: 'next_part "Monthly optimization:"'
|
line: 'next_part "Monthly optimization:"'
|
||||||
insertbefore: "/usr/share/scripts/etc-git-optimize"
|
insertbefore: "/usr/share/scripts/etc-git-optimize"
|
||||||
owner: root
|
owner: root
|
||||||
mode: "0644"
|
mode: "0600"
|
||||||
create: true
|
create: true
|
||||||
tags:
|
tags:
|
||||||
- etc-git
|
- etc-git
|
||||||
|
@ -97,7 +97,7 @@
|
||||||
path: /etc/hourly.local
|
path: /etc/hourly.local
|
||||||
line: "who > /dev/null || /usr/share/scripts/etc-git-status"
|
line: "who > /dev/null || /usr/share/scripts/etc-git-status"
|
||||||
owner: root
|
owner: root
|
||||||
mode: "0644"
|
mode: "0600"
|
||||||
create: true
|
create: true
|
||||||
state: "{{ etc_git_monitor_status | bool | ternary('present','absent') }}"
|
state: "{{ etc_git_monitor_status | bool | ternary('present','absent') }}"
|
||||||
tags:
|
tags:
|
||||||
|
@ -109,7 +109,7 @@
|
||||||
line: 'next_part "Hourly warning for unclean Git repository if nobody is connected:"'
|
line: 'next_part "Hourly warning for unclean Git repository if nobody is connected:"'
|
||||||
insertbefore: "who > /dev/null || /usr/share/scripts/etc-git-status"
|
insertbefore: "who > /dev/null || /usr/share/scripts/etc-git-status"
|
||||||
owner: root
|
owner: root
|
||||||
mode: "0644"
|
mode: "0600"
|
||||||
create: true
|
create: true
|
||||||
state: "{{ etc_git_monitor_status | bool | ternary('present','absent') }}"
|
state: "{{ etc_git_monitor_status | bool | ternary('present','absent') }}"
|
||||||
tags:
|
tags:
|
||||||
|
@ -120,7 +120,7 @@
|
||||||
path: /etc/daily.local
|
path: /etc/daily.local
|
||||||
line: "/usr/share/scripts/etc-git-status"
|
line: "/usr/share/scripts/etc-git-status"
|
||||||
owner: root
|
owner: root
|
||||||
mode: "0644"
|
mode: "0600"
|
||||||
create: true
|
create: true
|
||||||
state: "{{ etc_git_monitor_status | bool | ternary('present','absent') }}"
|
state: "{{ etc_git_monitor_status | bool | ternary('present','absent') }}"
|
||||||
tags:
|
tags:
|
||||||
|
@ -132,7 +132,7 @@
|
||||||
line: 'next_part "Daily warning for unclean Git repository:"'
|
line: 'next_part "Daily warning for unclean Git repository:"'
|
||||||
insertbefore: "/usr/share/scripts/etc-git-status"
|
insertbefore: "/usr/share/scripts/etc-git-status"
|
||||||
owner: root
|
owner: root
|
||||||
mode: "0644"
|
mode: "0600"
|
||||||
create: true
|
create: true
|
||||||
state: "{{ etc_git_monitor_status | bool | ternary('present','absent') }}"
|
state: "{{ etc_git_monitor_status | bool | ternary('present','absent') }}"
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Reference in a new issue