mini fixes
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2722|0|2722|0|:zzz:
gitea/ansible-roles/pipeline/head This commit looks good

This commit is contained in:
William Hirigoyen 2024-05-03 10:10:34 +02:00
parent 6f52920f9e
commit 064ca2f20a
2 changed files with 2 additions and 2 deletions

View file

@ -204,7 +204,7 @@ function _get_conf_from_dir() {
fi
# Add conf files in dir to be processed recursively
for _file in $(find "${1}" -maxdepth 1 -name "*.cfg" >2 /dev/null | ${_sort_command}); do
for _file in $(find "${1}" -maxdepth 1 -name "*.cfg" 2> /dev/null | ${_sort_command}); do
if [ -f "${_file}" ]; then
_get_conf_from_file "${_file}"
elif [ -d "${_file}" ]; then

View file

@ -46,7 +46,7 @@
owner: root
group: root
mode: "640"
validate: "visudo -c -f /etc/sudoers.d/evolinux"
validate: "visudo -c -f %s"
- name: "check if old alerts_wrapper script is present"
ansible.builtin.stat: