Matt Martz
Matt Martz
Moving back to draft.
Tested in an upcoming change (`data_tagging`) that will be merged for 2.18: ``` File "/Users/sivel/projects/ansibledev/playbooks/82771/test2.j2", line 2, in template {% set foo, bar = none %} TypeError: cannot unpack non-iterable...
Caused by https://github.com/ansible/ansible/commit/a9919dd7f62c9efe17b8acaebf7c627606ae9f66
This is caused by using an unsupported version of ansible-core within the execution environment. You will need to ensure that ansible-core is updated to a supported version while building the...
This has been resolved by https://github.com/ansible/ansible/pull/82789
Looks like we just need to re-inject these vars for includes: ```diff diff --git a/lib/ansible/playbook/included_file.py b/lib/ansible/playbook/included_file.py index 8ec4397712..d2fdb76364 100644 --- a/lib/ansible/playbook/included_file.py +++ b/lib/ansible/playbook/included_file.py @@ -95,8 +95,10 @@ class IncludedFile: index_var...
Anyone interested in turning the above diff into a PR with changelog and tests is free to do so.
> Idle curiosity. With this change, is it possible for a playbook or role to use `set_fact` to override the `pkg_mgr` mid-flight during a playbook? Technically yes. But this introduces...
fwiw, we can merge this ahead of my [PR](https://github.com/ansible/ansible/pull/82881) to address how the templating happens in package to safely evaluate the expression, specifically for `delegate_to`. The plan for my PR...
We should probably add tests for this as well 🙂