1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fixing issue with symlinked vaults

This commit is contained in:
Niko Felger 2014-09-08 16:10:18 +02:00
parent 8604f6dcd9
commit fa74a5c806

View file

@ -1494,7 +1494,7 @@ def _load_vars_from_path(path, results, vault_password=None):
% (path, err2.strerror, )) % (path, err2.strerror, ))
# follow symbolic link chains by recursing, so we repeat the same # follow symbolic link chains by recursing, so we repeat the same
# permissions checks above and provide useful errors. # permissions checks above and provide useful errors.
return _load_vars_from_path(target, results) return _load_vars_from_path(target, results, vault_password)
# directory # directory
if stat.S_ISDIR(pathstat.st_mode): if stat.S_ISDIR(pathstat.st_mode):