Skip to content
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

[2.15] Validate task attributes with first finalized attrs after loop (#80476) #80517

Merged
merged 1 commit into from Apr 17, 2023

Conversation

s-hertel
Copy link
Contributor

SUMMARY

Backport for #80476

  • Validate task attributes run_once and action with finalized attrs after individual loop results

  • Validate task attribute ignore_unreachable using individual loop results

Once there's a way to post validate only certain fields, we can use self._task.post_validate() instead

This replaces the fix introduced in #80051.

(cherry picked from commit bd6feeb)

ISSUE TYPE
  • Bugfix Pull Request

…le#80476)

* Validate task attributes `run_once` and `action` with finalized attrs after individual loop results

* Validate task attribute `ignore_unreachable` using individual loop results

Once there's a way to post validate only certain fields, we can use self._task.post_validate() instead

This replaces the fix introduced in ansible#80051.

(cherry picked from commit bd6feeb)
@s-hertel s-hertel changed the title Validate task attributes with first finalized attrs after loop (#80476) [2.15] Validate task attributes with first finalized attrs after loop (#80476) Apr 13, 2023
@ansibot ansibot added affects_2.15 backport This PR does not target the devel branch. bug This issue/PR relates to a bug. needs_triage Needs a first human triage before being processed. labels Apr 13, 2023
@sivel sivel merged commit 86bcfec into ansible:stable-2.15 Apr 17, 2023
86 checks passed
@sivel sivel removed the needs_triage Needs a first human triage before being processed. label Apr 18, 2023
@ansible ansible locked and limited conversation to collaborators Apr 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.15 backport This PR does not target the devel branch. bug This issue/PR relates to a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants