mirror of https://github.com/ansible/ansible.git
fix ansible galaxy file mangling (#23703)
without this patch, ansible-galaxy will mangle files containing the archive parent directory name, eg 'owncloud/files/owncloud.cron' will become 'owncloud/files/.cron'. The previous code could affect the entire path and even filenames. If a file path has the top level dir name as a substring, galaxy replaces it with ''. In one example, the archive top level dir is 'go', so 'files/go-bin.sh' becomes 'files/-bin.sh'. Fixes #22572, #23694, #23623pull/23761/head
parent
d04a5246de
commit
79943b86a1
Loading…
Reference in New Issue