mirror of https://github.com/ansible/ansible.git
Update stat module to handle symlinks
Add follow parameter to stat module that controls whether to follow symlinks. It defaults to no. This then calls os.stat or os.lstat based on the value of follow. Add lnk_source key/value pair if path is a symlink and follow=no. Drop the statement that sets isdir=False and islnk=True when path is a symlink that points to a directory.reviewable/pr18780/r1
parent
5603c32929
commit
d43f5d3ab7
Loading…
Reference in New Issue