Fix for file module with symlinks to nonexistent target (#39635)

* Fix for file module with symlinks to nonexistent target

When creating a symlink to a nonexistent target, creating the symlink
would work but subsequent runs of the task would fail because it was
trying to operate on the target instead of the symlink.

Fixes #39558
This commit is contained in:
Toshio Kuratomi
2018-05-03 17:50:43 -07:00
committed by GitHub
parent f75b7a9437
commit 4f664f8ff6
3 changed files with 25 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
---
bugfixes:
- file module - Fix error when running a task which assures a symlink to
a nonexistent file exists for the second and subsequent times
(https://github.com/ansible/ansible/issues/39558)