# \#strategy

**URL:** https://forum.ansible.com/tag/strategy/354.md

[Latest](https://forum.ansible.com/latest.md) · [Categories](https://forum.ansible.com/categories.md) · [Tags](https://forum.ansible.com/tags.md)

---

## [Existing code that overrides a strategy does not work in Ansible 6+](https://forum.ansible.com/t/existing-code-that-overrides-a-strategy-does-not-work-in-ansible-6/4845)

<div class="topic-metadata">

**Author:** [@mbutton77](https://forum.ansible.com/u/mbutton77)\
**Replies:** 2\
**Last updated:** [April 10, 2024, 12:32pm UTC](https://forum.ansible.com/t/existing-code-that-overrides-a-strategy-does-not-work-in-ansible-6/4845 "2024-04-10T12:32:29Z")

</div>

Hi, I’m trying to override a base strategy in Ansible 6+. So far, my code works perfectly fine on Ansible 5 and less, but as soon as I try it on a more recent version, it fails. To illustrate my problem, I made a smal…

---

## [Is the current strategy visible to tasks?](https://forum.ansible.com/t/is-the-current-strategy-visible-to-tasks/4489)

<div class="topic-metadata">

**Author:** [@utoddl](https://forum.ansible.com/u/utoddl)\
**Replies:** 1\
**Last updated:** [March 21, 2024, 7:10am UTC](https://forum.ansible.com/t/is-the-current-strategy-visible-to-tasks/4489 "2024-03-21T07:10:01Z")

</div>

Is a playbook’s current strategy exposed to tasks, perhaps through some unlisted special variable? I’m running into ansible-lint’s admonition, “run-once\[task\]: Using run\_once may behave differently if strategy is set to…
