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
Removing run_once usage on include_tasks #10523
Conversation
Previously, run_once (and several other options) were silently ignored on include_tasks and effectively did nothing. As of 2.7/2.8 these invalid options will now raise errors, so they must be removed. This was tested against an install of 3.11 originally, so there may be others that were added after that release.
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: jimi-c If they are not already assigned, you can assign the PR to them by writing 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 |
Can one of the admins verify this patch?
|
/ok-to-test |
Is it working fine in 2.6? We don't support ansible 2.7+ yet |
@vrutkovs Yes it works fine on 2.6 because these invalid options were silently ignored. However, the point is to get it working on the most recent Ansible versions. |
Ansible 2.7 install fails on #10368 Maybe its already fixed in 2.7.1? |
Still had install failures for 2.7.0 and 2.7.1. Looking into why they failed. |
@mtnbikenc odd, the commit we thought fixed this (ansible/ansible#46970) was back-ported and included in 2.7.1. I also did a successful install on AWS using the devel branch which included 1 master/etcd, 3 glusterfs nodes, and 5 worker nodes. Definitely let us know what you find, if we need to back-port something else for 2.7.2. |
@mtnbikenc any reason not to merge this? Even if it's not a complete fix for all possible issues with 2.7 it seems like we should either close or get it merged. |
Since we're hardcoding ansible version this PR also needs to require 2.7.1 so that it would be properly tested by CI |
@jimi-c: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Master branch is closed! A major refactor is ongoing in devel-40. Changes for 3.x should be made directly to the latest release branch they're relevant to and backported from there. |
Previously, run_once (and several other options) were silently ignored on include_tasks
and effectively did nothing. As of 2.7/2.8 these invalid options will now raise errors,
so they must be removed.
This was tested against an install of 3.11 originally, so there may be others that were
added after that release.