mini fixes
This commit is contained in:
parent
6f52920f9e
commit
064ca2f20a
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue