ansible/lib/ansible
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
..
cli
compat
config
errors
executor
galaxy
inventory
module_utils
modules Fix archive truncating archived file names based on prefix length (#3124) 2016-12-08 11:34:57 -05:00
parsing
playbook
plugins
template
utils
vars
__init__.py
constants.py
release.py
test-requirements.txt