ansible/lib/ansible/modules
Ryan Brown bbe8e1f53b Fix archive truncating archived file names based on prefix length (#3124)
When archiving multiple files, the full length of the calculated
`arcroot` would be removed from the beginning of all file names. If
there was no arcroot, the first two characters of all files would be
removed, so `file.txt` would become `le.txt`.

This patch uses the regular expressions substitution anchored to the
start of the string, so the arcroot is only removed if it is actually
present.
2016-12-08 11:34:57 -05:00
..
.github
cloud
commands
database
extras Fix archive truncating archived file names based on prefix length (#3124) 2016-12-08 11:34:57 -05:00
files
inventory
network
packaging
source_control
system
test/utils/shippable
utilities
web_infrastructure
windows