-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop Ansible support for v2.9 and v2.10 #8925
Drop Ansible support for v2.9 and v2.10 #8925
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: oomichi The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Necessary to rebase after #8922 |
@oomichi you will need to modify https://github.com/kubernetes-sigs/kubespray/blob/master/.gitlab-ci.yml#L37 to set it to 2.12 by default |
@cristicalin Thanks for pointing it out, I missed that. |
6fb3189
to
e1951bf
Compare
/hold cancel |
I see a pattern here in the sense that all centos7 jobs seem to fail, I triggered the manual ones as well. What I may suggest is to set ANSIBLE_VERSION=2.11 instead and see if the jobs pass. |
That seems a good try, let's do that. |
e1951bf
to
c9ddf97
Compare
c1c8b37
to
d587b2f
Compare
/hold |
09ef2d3
to
e93827b
Compare
/hold cancel |
3ab1d91
to
ac9c4c5
Compare
Ansible v2.9 and v2.10 are EOL as [1]. This drops those version supports by following the upstream Ansible. This sets use_ssh_args true always because that is required to use ssh_args on ansible.cfg on Ansible v2.11 or later[2]. ansible_ssh_host is replaced with ansible_host because ansible_ssh_host has been deprecated already and cenots7 jobs were failed due to the deprecated ansible_ssh_host. [1]: https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html#ansible-core-changelogs [2]: https://docs.ansible.com/ansible/latest/collections/ansible/posix/synchronize_module.html#parameter-use_ssh_args
ac9c4c5
to
60c9969
Compare
@cristicalin Finally all necessary jobs are successful, please take a look again 😄 |
Nice, we still have a version that goes back to ancient times (python 2.7 and old rhel7 boxes) while this lays the groundwork to move to 2.12 by default and opens up work for 2.13. There is also this workaround that I think we can drop: https://github.com/kubernetes-sigs/kubespray/blob/master/roles/download/tasks/download_file.yml#L73-L77 (just the typecast to list) but that can be done in a cleanup later. Thanks for the cleanup @oomichi /lgtm |
Thanks for taking care of this @cristicalin
That is a really nice point. |
Ansible v2.9 and v2.10 are EOL as [1]. This drops those version supports by following the upstream Ansible. This sets use_ssh_args true always because that is required to use ssh_args on ansible.cfg on Ansible v2.11 or later[2]. ansible_ssh_host is replaced with ansible_host because ansible_ssh_host has been deprecated already and cenots7 jobs were failed due to the deprecated ansible_ssh_host. [1]: https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html#ansible-core-changelogs [2]: https://docs.ansible.com/ansible/latest/collections/ansible/posix/synchronize_module.html#parameter-use_ssh_args
Ansible v2.9 and v2.10 are EOL as [1]. This drops those version supports by following the upstream Ansible. This sets use_ssh_args true always because that is required to use ssh_args on ansible.cfg on Ansible v2.11 or later[2]. ansible_ssh_host is replaced with ansible_host because ansible_ssh_host has been deprecated already and cenots7 jobs were failed due to the deprecated ansible_ssh_host. [1]: https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html#ansible-core-changelogs [2]: https://docs.ansible.com/ansible/latest/collections/ansible/posix/synchronize_module.html#parameter-use_ssh_args
Ansible v2.9 and v2.10 are EOL as [1]. This drops those version supports by following the upstream Ansible. This sets use_ssh_args true always because that is required to use ssh_args on ansible.cfg on Ansible v2.11 or later[2]. ansible_ssh_host is replaced with ansible_host because ansible_ssh_host has been deprecated already and cenots7 jobs were failed due to the deprecated ansible_ssh_host. [1]: https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html#ansible-core-changelogs [2]: https://docs.ansible.com/ansible/latest/collections/ansible/posix/synchronize_module.html#parameter-use_ssh_args
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Ansible v2.9 and v2.10 are EOL as 1.
This drops those version supports by following the upstream Ansible.
This sets
use_ssh_args
true always because that is required to usessh_args
on ansible.cfg on Ansible v2.11 or later2.ansible_ssh_host
is replaced withansible_host
becauseansible_ssh_host
has been deprecated already and cenots7 jobs were failed due to the deprecatedansible_ssh_host
.Does this PR introduce a user-facing change?: