You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/changelogs/fragments
Sloane Hertel e84240db84
Fix installing roles containing symlinks (#82911)
* Fix installing roles containing symlinks

Fix sanitizing tarfile symlinks relative to the link directory instead of the archive

For example:

role
├── handlers
│   └── utils.yml -> ../tasks/utils/suite.yml

The link ../tasks/utils/suite.yml will resolve to a path outside of the link's directory, but within the role

role/handlers/../tasks/utils/suite.yml

the resolved path relative to the role is tasks/utils/suite.yml, but if the symlink is set to that value, tarfile would extract it from role/handlers/tasks/utils/suite.yml

* Replace overly forgiving test case with tests for a symlink in a subdirectory of the archive and a symlink in the archive dir when these are not equivalent.

* Build test case from role files to make it easier to add test cases

Fixes #82702
Fixes #81965
Fixes #82051
1 month ago
..
82307-handlers-lockstep-linear-fix.yml handlers: fix executing in lockstep using linear (#83030) 2 months ago
82831_countme_yum_repository.yml add countme option to yum_repository (#82831) 1 month ago
82878-fetch-dest-is-dir.yml fetch - add error check on calculated dest (#82970) 2 months ago
82941.yml paramiko_ssh: remove deprecated ssh_*_args parameters (#82988) 2 months ago
82946.yml play_context: remove deprecated PlayContext.verbosity (#82993) 2 months ago
82947.yml plugins: remove deprecated features (#82976) 2 months ago
83031.yml plugin: fixed examples of csv lookup plugin (#83068) 2 months ago
add_systemd_facts.yml add systemd version and features fact (#83083) 1 month ago
ansible-config-validate.yml ansible-config: add 'validate' option (#83007) 2 months ago
ansible-drop-python-3.7.yml Drop Python 3.7 support (#82982) 2 months ago
ansible-galaxy-role-install-symlink.yml Fix installing roles containing symlinks (#82911) 1 month ago
ansible-test-container-update.yml ansible-test - Update base/default containers 2 months ago
ansible_managed_restore.yml inspect components, ansible_managed templatable (#83053) 1 month ago
config_init_fix.yml ansible-config: ensure we get templated default (#82974) 2 months ago
dnf-installroot-substitutions.yml dnf - honor installroot and substitutes in paths (#83011) 2 months ago
dnf5-api-breaks.yml dnf5: replace removed API calls (#83020) 2 months ago
dnf_cache_path.yml modules/dnf: Substitute variables in DNF cache path (#80094) 2 months ago
enabled_runtime.yml Extend systemctl is-enabled check to handle "enabled-runtime" too. (#77754) 2 months ago
listify.yml Remove deprecated 'loader' argument (#82968) 2 months ago
mask_me.yml systemd_service: handle failure when mask operation fails (#83079) 1 month ago
remove-deprecated-gather-facts-config.yml Remove deprecated configs for DEFAULT_FACT_PATH, DEFAULT_GATHER_SUBSET, and DEFAULT_GATHER_TIMEOUT (#82978) 2 months ago
remove-deprecated-role-cache.yml Play - remove deprecated ROLE_CACHE in favor of role_cache (#82979) 2 months ago
remove-deprecated-vars-syntax.yml Remove deprecated vars keyword syntax as a list of dictionaries, it is now required to be a single dictionary (#82980) 2 months ago
remove-python-2-compat.yml Remove more Python 2.x compat code 2 months ago
v2.18.0-initial-commit.yaml Bump devel to 2.18.0.dev0 (#82934) 2 months ago
vmware_facts.yml facts: Add a generic detection for VMware product name (#83012) 2 months ago