Revert last commit
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2697|5|2692|5|:-1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/466//ansiblelint">Evolix » ansible-roles » unstable #466</a>
gitea/ansible-roles/pipeline/head This commit looks good
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2697|5|2692|5|:-1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/466//ansiblelint">Evolix » ansible-roles » unstable #466</a>
gitea/ansible-roles/pipeline/head This commit looks good
This commit is contained in:
parent
4c9e4a30cc
commit
8741167a80
2 changed files with 0 additions and 7 deletions
|
@ -67,7 +67,6 @@ The **patch** part changes is incremented if multiple releases happen the same m
|
|||
* vrrpd: variable to force update the switch script (default: false)
|
||||
* webapps/nextcloud: Add Ceph volume to fstab
|
||||
* webapps/nextcloud: Set home directory's mode
|
||||
* userlogrotate: Use user's primary group when user's name is not an existing group
|
||||
|
||||
### Fixed
|
||||
|
||||
|
|
|
@ -73,9 +73,6 @@ for path in ${SYSTEM_LOGS_SEARCH_PATHS[@]}; do
|
|||
for file in ${log_paths}; do
|
||||
user="$(user_for "${file}")"
|
||||
group="$(group_for "${file}")"
|
||||
if ! getent group "${user}" > /dev/null 2> /dev/null; then
|
||||
group="$(id -gn "${user}")"
|
||||
fi
|
||||
rotate "${file}" "${group}":"${user}"
|
||||
delete_old "$(dirname "${file}")"
|
||||
done
|
||||
|
@ -88,9 +85,6 @@ for path in ${APPLICATIVE_LOGS_SEARCH_PATHS[@]}; do
|
|||
for file in ${log_paths}; do
|
||||
user="$(user_for "${file}")"
|
||||
group="$(group_for "${file}")"
|
||||
if ! getent group "${user}" > /dev/null 2> /dev/null; then
|
||||
group="$(id -gn "${user}")"
|
||||
fi
|
||||
rotate "${file}" "${group}":"${user}"
|
||||
delete_old "$(dirname "${file}")"
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue