breilly / fedora-infra / ansible

Forked from fedora-infra/ansible 3 years ago
Clone

74752c3 Cope with dangling symlinks

Authored and Committed by nphilipp 4 years ago
    Cope with dangling symlinks
    
    The exists() method uses os.stat() instead of os.lstat() and so doesn't
    work for symlinks pointing to a non-existent path. A corresponding
    lexists() method doesn't exist yet.
    
    Signed-off-by: Nils Philippsen <nils@redhat.com>