mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-08 14:20:04 -07:00
[5.0.0] Remove Ansible 2.9 / ansible-base 2.10 compatibility code (#4548)
* Remove Ansible 2.9 / ansible-base 2.10 compatibility code. * Remove path_join shim from BOTMETA. * Update comment. * Bump minimally required ansible-core version.
This commit is contained in:
parent
36a0eca193
commit
1a9b3214fd
22 changed files with 44 additions and 276 deletions
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
requires_ansible: '>=2.9.10'
|
||||
requires_ansible: '>=2.11.0'
|
||||
plugin_routing:
|
||||
connection:
|
||||
docker:
|
||||
|
@ -624,6 +624,9 @@ plugin_routing:
|
|||
path_join:
|
||||
# The ansible.builtin.path_join filter has been added in ansible-base 2.10.
|
||||
# Since plugin routing is only available since ansible-base 2.10, this
|
||||
# redirect will be used for ansible-base 2.10 or later, and the included
|
||||
# path_join filter will be used for Ansible 2.9 or earlier.
|
||||
# redirect will be used for ansible-base 2.10 or later. This was mostly
|
||||
# relevant before community.general 5.0.0, when community.general also
|
||||
# supported Ansible 2.9. Back then, the included path_join filter was used
|
||||
# for Ansible 2.9 or earlier. Now we only will have the redirect until we
|
||||
# eventually will deprecate and then remove it.
|
||||
redirect: ansible.builtin.path_join
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue