The module file
changes the relative path
of a symlink to absolute
#65448
Labels
affects_2.9
This issue/PR affects Ansible v2.9
bug
This issue/PR relates to a bug.
files
Files category
has_pr
This issue has an associated PR.
module
This issue/PR relates to a module.
P3
Priority 3 - Approved, No Time Limitation
python3
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
SUMMARY
The
file
module changes thepath
of a relative symlink to absolute path.ISSUE TYPE
COMPONENT NAME
file
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
controller: mac
target: centos:8
STEPS TO REPRODUCE
Prepare a container:
Run ansible on the container:
EXPECTED RESULTS
I was hoping that
file
would follow the symlink '/sbin' and change the target only. In the example above you can see that the link itself is modified.ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: